Thread: First game I FINISHED! (with gfx!)

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    244

    Thumbs up First game I FINISHED! (with gfx!)

    OoOOoOoH it's only PONG but at least it's complete (complete enough - it's just pong) and not entirely trash. It IS very very simple really, but I think getting down the basic structure is what was important. Now I think I will begin work on more complicated games (a platformer next, I suspect)

    I've included SDL.dll incase anyone needs it and the source as well.

    If anyone could look through my code and tell me of any blaring bad habits you notice, that'd be cool as hell.

    Otherwise, this is just for sharing purposes - especially for people just starting out with SDL or games.

    here it is: http://mysite.verizon.net/vze4kqtt/pong.rar

    (I don't know how reliable that will be - I haven't used verizon webspave until now. Let me know!)
    Last edited by Captain Penguin; 03-02-2003 at 10:07 PM.

  2. #2
    napKINfolk.com napkin111's Avatar
    Join Date
    Apr 2002
    Posts
    310
    Your link is a little (totally!) wacked out. I click it and it takes me to what seems to be the .rar opening as a text file. Just a bunch of gibberish. I saved the gibberish as a .rar and tried opening but no luck.

    I'm interested in seeing how you did it cause I made a breakout game in SDL and I'm currently making a Lufa-ish game in it as well.

    Get that link up I'm anxious to see!

    //napKIN
    "The best way to get answers is to just keep working the problem, recognizing when you are stalled, and directing the search pattern.....Don’t just wait for The Right Thing to strike you – try everything you think might even be in the right direction, so you can collect clues about the nature of the problem."
    -John Carmack

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    244
    Originally posted by napkin111
    Your link is a little (totally!) wacked out. I click it and it takes me to what seems to be the .rar opening as a text file. Just a bunch of gibberish. I saved the gibberish as a .rar and tried opening but no luck.

    I'm interested in seeing how you did it cause I made a breakout game in SDL and I'm currently making a Lufa-ish game in it as well.

    Get that link up I'm anxious to see!

    //napKIN
    Hmm Yes I see what you mean. Well if you right click on the link and select "Save link as..." or "Save target as..." and save it somewheres, then change the extension from .rar.html (if you use mozilla) or .htm (if you use IE) to .rar and it should work. (assuming you have winrar, available at download.com)

    I've also been made aware of 2 problems (well I knew about them already really) -

    *SOMETIMES* the paddles move really slowly
    the ball moves really fast?

  4. #4
    napKINfolk.com napkin111's Avatar
    Join Date
    Apr 2002
    Posts
    310
    Interesting, you have a lot of source files :P. I have a few suggestions:
    -=make the ball direction random
    -=if you are moving right when you hit the ball, make the ball x velocity change so it moves right faster (or left slower, depending), this way you can change the direction of the ball.
    -=maybe put some square obstacles in the way, that would be cool

    Overall good job on your first game!

    //napKIN
    "The best way to get answers is to just keep working the problem, recognizing when you are stalled, and directing the search pattern.....Don’t just wait for The Right Thing to strike you – try everything you think might even be in the right direction, so you can collect clues about the nature of the problem."
    -John Carmack

  5. #5
    |<o>| <--cyclopse LouDu's Avatar
    Join Date
    Mar 2003
    Posts
    137
    pong is god
    Languages <> C++, HTML

    /*The Ledgend of Ludlow Coming to a PC Near
    You intro Cinenmatic Needed email me of
    Reply to one of my threads if you can make
    one, thats decent. */

  6. #6
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    The ball seems to be moving too fast, That, Or i'm asking too
    much playing both players at the same time.
    --

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 2D Game project requires extra C++ programmers, new or experienced
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 05-16-2007, 10:46 AM
  2. PC Game project requires c++ programmers
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 02-22-2006, 12:23 AM
  3. Game Designer vs Game Programmer
    By the dead tree in forum Game Programming
    Replies: 8
    Last Post: 04-28-2005, 09:17 PM
  4. 3d gfx in 2d game
    By lambs4 in forum Game Programming
    Replies: 13
    Last Post: 01-21-2003, 06:56 PM
  5. finished my game, finally
    By agerealm in forum Game Programming
    Replies: 15
    Last Post: 10-12-2001, 08:01 AM