[video output=day028 member=cmuratori stream_platform=twitch stream_username=handmade_hero project=code title="Drawing a Tile Map" vod_platform=youtube id=QGmQ714rlAc annotator=powerc9000 annotator=dspecht annotator=schme annotator=theinternetftw] [0:54][Overview of the day] [3:30][Floating point color discussion] [16:50][Actually doing the color in floating point] [23:40][Showing some of the possible structs we will want to pull out] [25:03][Starting a basic tile map] [28:10][Looping through the tilemap to draw] [37:32][Getting a player to the screen] [46:26][Basic character movement] [48:00][Debugging slow player movement] [58:34][Q&A][:speech] [59:00][Question: Is Sleep() still making us miscalculate the fps] [1:01:15][Question: dtForFrame is only in one of the inputs] [1:03:07][Question: Maybe we should sync our frames with vsync due to it dropping our frames] [1:03:50][Question: On the topic of tilemap size maybe use smaller tiles then use 2 tiles for doors] [1:04:26][Question: Why not use anything created before like sdl, opengl, and so on (new person question)] [1:05:43][Question: Fixed-point or floating point] [1:06:22][Question: Would not anyone expect 4pixels per frame at 60fps be a little jerky] [1:07:28][Question: Yesterday you discussed explorative programming. How do you compare that with AGILE development style?] [1:10:05][Question: Was procrastination a problem for you?] [1:11:33][Question: Could all the print output cause the lag in the input?] [1:12:07][Question: Use space on top/bottom for UI] [1:12:34][Question: Can we pack the colors in a struct?] [1:12:41][Question: Is there a reason to set the tiles to a square other than ease of use?] [1:13:20][Question: Do you add anything to your almond milk other than soaked almonds and water?] [1:13:24][Question: From yesterday's stream how can you tell the difference in how to change the direction of your design or is that a fundamentally hard problem] [1:16:17][Question: Would it be bad to do a rectangle tile, since you get a rectangle by doing an ortho view of it anyway?] [1:18:07][Question: What debugger do you use on Linux?] [1:19:35][Question: Why do we see 9 threads on the program exit?] [1:23:03][Question: Are we locked into a tile size once we get going or can we make that dynamic per level or room in the future?] [1:24:37][Question: What about selling t-shirts?] [1:24:58][Question: With your compression based programming do you find yourself writing facades for everything so you and others can interact with the modules] [1:26:15][Question: Why not use Clang?] [/video]