Hi,people:
Actually it's very nice to write one game with only one level, but would be better if get more level and more challenge, so anyone knows how to design the game levels? My game only has one level
Thanks for the help
Hi,people:
Actually it's very nice to write one game with only one level, but would be better if get more level and more challenge, so anyone knows how to design the game levels? My game only has one level
Thanks for the help
Don't laugh at me,I am just a SuperNewbie.
You would have to come up with a format for your levels, you could use FILE I/O.
Im making an RPG game and my *.map files look like this:
01|01|01|01|04|01|01|01|01 etc.
My program reads this, and makes 01 blit the image of a grass tile and 04 blit the image of a house tile.
"There are three kinds of people in the world...
Those that can count and those that can't."
THANX!!
How about the enemies and sprite or other elements? randomly put them after each level or just follow the instruction in the *.map file?
Last edited by SuperNewbie; 06-06-2002 at 03:58 PM.
Don't laugh at me,I am just a SuperNewbie.
Enemies and sprites can be hard coded ( always same place ), or random. If you pick them random, make sure you don't put them on another sprite or a tree or something that you didn't intend for.
"...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers