Thread: my first game yeh!!!!

  1. #1
    Registered User gell10's Avatar
    Join Date
    Jul 2003
    Posts
    46

    my first game yeh!!!!

    I have just finished my first game, i included the source code and everything else you might want to look at.

    Here's the link:
    http://www.pointlessinformation.com/...monkeygame.zip
    Btw does anyone know how to mix variables and words on my final message box so i can show the real score?

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    look into sprintf for building strings
    Away.

  3. #3
    Registered User gell10's Avatar
    Join Date
    Jul 2003
    Posts
    46
    i can't find a good tutorial, i look it up on google and all i get is broken links and bad explanations. if anyone knows of a good site to learn about sprintf, please say so. Thanks

  4. #4
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  5. #5
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    The article about sprintf on MSDN is good too.
    Away.

  6. #6
    Registered User gell10's Avatar
    Join Date
    Jul 2003
    Posts
    46
    thanks

    does anyone have any suggestions for the game.

  7. #7
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    After 2 seconds, a prompt window comes up: 'You scored a lot of Bannanas yummm.. BANNANAS good job!!!!!'. Then it quits.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  8. #8
    Registered User
    Join Date
    Mar 2002
    Posts
    249
    Good game. You could improve the collision detection with the top/bottom of the screen a little better, and you could improve the graphics a little better (the yellow square happy face in particular). You should also make it a bet harder instead of never-ending (ie gradually add more bouncing balls).

  9. #9
    Registered User gell10's Avatar
    Join Date
    Jul 2003
    Posts
    46
    @xsquared: you have to move the monkey before it gets hit by the balls

    @funkydude:thanks for the good suggestions. i know the smiley face is not exactly art magnifico but it is funny and cheap imo. I have problems with the collision detection, is there a way i can make it smoother so that when the face hits the wall it doesnt jump back .2 spaces and just goes back. Also the directions of the ball sometimes go back and fourth instead of more random directions. I will fix these later. Thanks Funkydude

  10. #10
    Registered User
    Join Date
    Mar 2003
    Posts
    27
    you might want to have an opening screen, just so the user doesn't die right away when the game starts up.
    "Computers aren't intelligent, they only think they are."

    **infected by Blizzarddog**
    I am a signature virus. Please add me to your signature so that I may multiply

  11. #11
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    After 2 seconds, a prompt window comes up: 'You scored a lot of Bannanas yummm.. BANNANAS good job!!!!!'. Then it quits.
    same here, no chance to play.

  12. #12
    Registered User
    Join Date
    Jul 2003
    Posts
    1
    I played for about a minute, and eventually all 4 balls got "stuck" together so to speak, bouncing from top corner, to bottom right. It was incredibly easy to get the bananas.

    Haven't looked at the code, but good job for first game.

  13. #13
    Registered User
    Join Date
    Mar 2002
    Posts
    249
    same here, no chance to play.
    That's because one of the balls already hit you before you even get a chance to do a thing. If you run it a couple more times, you'll get a chance.

    You should really add something like "press space to start.." in the beginning.

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. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  3. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 12:48 AM
  4. C++ Game of Life Program
    By rayrayj52 in forum C++ Programming
    Replies: 16
    Last Post: 09-26-2004, 03:58 PM
  5. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM