2.5 hours to kill… (and also my base code)
Woke up an hour ago, ate a cucumber and an egg sandwich with milk for breakfast, it’s 3:30pm in Vancouver Canada and there’s still 2 and a half hours to kill…
Well here’s the base code I’ll be using:
https://www.dropbox.com/s/rwnnfi1q4etclyt/thcbasecode.zip
It’s an unfinished bare basic tilemap platformer engine in C# XNA 4.0. Collision with tiles is artificial since I kept the tilemap as a 2d char array and had the player and enemies handle collision by checking for the indexes of the relevant tiles/chars based on their own coordinates and then determining if the tiles are passable. This way we won’t have to iterate through all the tiles on the map every time, only the specific one or two tile right below or next to the player.
Comments are pretty scarce but feel free to have a read if you want.
Best of luck everyone!