Thread: design a game level

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    173

    design a game level

    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.

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    387
    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."

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    173
    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.

  4. #4
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Game design -> GameWorld
    By h3ro in forum Game Programming
    Replies: 2
    Last Post: 03-09-2008, 05:49 PM
  2. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-26-2006, 12:14 AM
  3. Game Independent Anti-cheat Project Needs Programmers
    By GIA Project Lea in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 09-15-2005, 07:41 PM
  4. Game Design Topic #1 - AI Behavior
    By TechWins in forum Game Programming
    Replies: 13
    Last Post: 10-11-2002, 10:35 AM
  5. Im a Newbie with a graphics design problem for my simple game
    By Robert_Ingleby in forum C++ Programming
    Replies: 1
    Last Post: 11-23-2001, 06:41 PM