oh and the map format is quite simple:
Code:
11111111111111111111
10000000000000000001
10000000000000000001
10000000000000000001
10000000000000000001
10000000000000000001
10000000000000000001
10000000111000000001
10000000000000000001
10000000000000000001
10000000000000000001
10000000000000000001
10000000000000000001
10000000000000000011
11111111111111111111
where 1 is a block and 0 is nothing.
this __texturemanager-stuff is only a texturelist-handling thing, you can replace it by - in this case - a texture for the player and one texture for a block.
it's really basic right now, no gravity or different blocks implemented yet
also, you can replace the whole directinput-stuff by polling the keys in the keydown-events... i just wanted that implemented from the start because it's so much work to do that later on...
Bookmarks