Skip to main content
GameDev.net gamedev.net
🔒 Locked

tile based games

Started by Rafael_Treiber Dec 20, 2007 at 7:23 AM 6 replies 1.6k views
Original Post
Rafael_Treiber
Rafael_Treiber
Hello guys. I have been quite a while away from the programming because I was having lots of work, but now that things got calm again, I started to make a game. I have always done simple games with few moving images and just some sounds. But now I decided to put all my knowlege together and create the kind of game I like the most: platform games. I still like pretty much the old SNES games like Demon's Crest, Black thorne and games like those. I am creating one similar to those and by the moment I can already make my hero walk through the screens, fall down on holes going to another screen, jump and colide against obstacles. Actually I am having some trouble on saving and loading the obstacles into a file but thats not why I am writing. I just would like to know if tile based games are still created today. I am not making it a tile based games. I just saved my hero in a bitmap, created a background and saved it too and then I created a text file with the coordinates where the hero should colide on the background. I dont know if this is the best way to do it so I looked for tile based games on the internet. I read that mostly of the SNES games were tile based games, including Super Mario Bros. But I also read that they did them like that because they are easier to load and faster too. With the technology they had at their processors at that time, it was the best thing to do. But my question is: is it still the best way to do this kind of game? Are there other technics to do platform games now? I have just found texts about tile based games in flash and I code in C++, so if anyone knows any link to a tile based game explanation in C++, I would appreciate very much. Any link about platform games in C++ would be appreciated as well. Thank you for your time guys.
jamaicandude
jamaicandude
I would suggest you take a look at Game programming all in one 2nd/3rd edition by Jonathan Harbour it uses C and Allegro game library and will teach you how to make Vertical and Horizontal scrolling games while giving you the basics on game programming theory and design.
Rafael_Treiber
Rafael_Treiber
Quote:
Original post by jamaicandude
I would suggest you take a look at Game programming all in one 2nd/3rd edition by Jonathan Harbour it uses C and Allegro game library and will teach you how to make Vertical and Horizontal scrolling games while giving you the basics on game programming theory and design.


Thank you jamaicandude. I will take a look at it. But in fact I am using C++ and SDL and not Allegro. But it can probably give me some ideas to adapt to SDL.
hughiecoles
hughiecoles
www.lazyfoo.net is the best C++ /SDL resource i've seen, its a very good site with alot of very useful tutorials
--------------------------------------Not All Martyrs See Divinity, But At Least You Tried
Rafael_Treiber
Rafael_Treiber
Quote:
Original post by godsenddeath
www.lazyfoo.net is the best C++ /SDL resource i've seen, its a very good site with alot of very useful tutorials



Oh yeah! It is very good indeed. I have all those tutorials on my computer. But none of them seem to cover tile based games.
Chad Smith
Chad Smith
Quote:
Original post by Rafael_Treiber
Quote:
Original post by godsenddeath
www.lazyfoo.net is the best C++ /SDL resource i've seen, its a very good site with alot of very useful tutorials



Oh yeah! It is very good indeed. I have all those tutorials on my computer. But none of them seem to cover tile based games.



This LazyFoo tutorial covers tiling.

There is also this, which has helped me.

I wish you the best of luck!

Chad



Rafael_Treiber
Rafael_Treiber
Quote:
Original post by Chad Smith
Quote:
Original post by Rafael_Treiber
Quote:
Original post by godsenddeath
www.lazyfoo.net is the best C++ /SDL resource i've seen, its a very good site with alot of very useful tutorials



Oh yeah! It is very good indeed. I have all those tutorials on my computer. But none of them seem to cover tile based games.



This LazyFoo tutorial covers tiling.

There is also this, which has helped me.

I wish you the best of luck!

Chad


Thank you very much Chad. I didnt remember that lazyfoo link. And the second link seemed quite interesting to me. I'll take a look.

Chad Smith
Chad Smith
No problem man. Anything to help someone out.

Chad

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.