Scrolling Game Development Kit Forum

SGDK Version 1 => Help/FAQ => Topic started by: mccool on 2006-07-08, 09:22:31 AM

Title: ''How far can you go'' type game
Post by: mccool on 2006-07-08, 09:22:31 AM
How can i make a game that records how far you go? Like how many tiles. I couldnt make it so when u hit a tile in a certain category it adds 1 point cuz then u cud just walk back and forth and rack up the points.

Also how do i make a high scores list?
Title: Re: ''How far can you go'' type game
Post by: sam on 2006-07-08, 09:57:34 AM
Havent thought about high scores list yet, but for the tile counting have a tile interaction for the ground tile and when they hit that tile add to inventory 1 whatever and make it replace that tile with a different tile that looks the same. If you have more than one ground tile (ie. sloped tiles) then have a seperate tile interaction for them that does the same but replaces the tile with a different slope tile.
Title: Re: ''How far can you go'' type game
Post by: bluemonkmn on 2006-07-08, 07:36:47 PM
I think you could do a similar thing for empty tiles instead.  Then you wouldn't have to worry about different kinds of ground tiles.

A high scores list is possible, but too involved for me to explain here right now.  I'm trying to remember if any other game has an example of a high scores list.  I can't remember for sure.