This bug has been "bug"gging me for weeks now. I am unable to set the position of an entity. I changed the coordinates in AddPlayer but the player is still stuck in the left bottom corner. Shown here:
I tried adding the player when the game starts and I also try other things and I just can't put my finger on it but I'm doing something wrong.
the code for my project is here (note: The 70-80% code I wrote is not a direct copy from the actual source and I didn't include the art resources. The other 20% of the code are written by the SDL platform for linux by David(?) Sorry, I forgot)
https://github.com/nsetobol/Handm...ice/tree/master/Handmade_Hero_SDL
I not sure if the cause of the bug is in handmade.cpp or handmade_tile.cpp....what do you guys think? It's been weeks since I have done handmade hero and I really want to continue!