first game

This is a discussion on first game within the Game Programming forums, part of the General Programming Boards category; i've been trying to programme a game for ages now but i never get around to. Can someone please tell ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    12

    Lightbulb first game

    i've been trying to programme a game for ages now but i never get around to. Can someone please tell me how i would from start to finish make a 2d tetris game in open GL using visual c++. Can someone please please help me.

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    19
    i did a similar project myself, but some advice to you is to try and at LEAST make a *variant* of Tetris -- it'll be a lot more rewarding that way...

    although there're no universal steps to make a game as such, here are some:

    1) Know the OpenGL API to the extent of what's required (i.e. block (polygon) drawing; initialization / deinitialization
    2) Draw up a rough sketch of the game screen
    3) Decide on how to represent blocks (i.e. 4x4 matrix / bit-field)
    4) Work out matrix rotation routines for blocks
    5) Develop in small parts (i.e. code up graphical routines as they are required, then move on to higher-level coding)

    if you want to see my version (in Assembly), goto www.gradata.com -> Linkup . Also, for help on concepts, either email me, or better still, post here!!

    Regards,
    Peter Kimberley
    peter_kimberley@hotmail.com

  3. #3
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    yeah, the best way to go for something like a tetris clone would be to make it as segmented as possible. It makes the process of debugging easier when you know where your problem has got to be (in what function).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-08-2010, 12:08 AM
  2. Open Source / Semi Open source game idea. Help needed
    By CaptainPatent in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 05-16-2007, 11:44 AM
  3. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-25-2002, 12:00 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21