Thread: My new and improved breakout clone!

  1. #1
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    My new and improved breakout clone!

    Alright everyone. I have made my first ever game with graphics. Here is my improved breakout clone. Many, many things have been added since my last thread about the game, therefor it needs a new thread. Again, only 1 level is here right now. Tell me what you think about the block collision and the level.

    ****EDIT****
    See my later posts on this thread for the updated version
    ****EDIT****

    you can get it from: http://leeman_s.tripod.com/leepong.zip

    or alternatively just click the link below to get it from cprogramming.com
    Last edited by Leeman_s; 01-13-2003 at 08:09 PM.

  2. #2
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Halo,

    Yep, it's improved greatly. But when you get the ball to bounce on the edge the sound dissapears and the ball just bounces back and forth continuously. What i suggest is that you can add a little, just a little little bit of random movement to the ball, so that you can retain the feature of controlling the ball's direction using the paddle ^.^.

    By the way, did you use any books on game programming or such? Or just plain tutorials?

  3. #3
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    One more thing, the ball sometimes gets stuck to the paddle, and you can sometimes even push the ball on the edge of the paddle to save a losing ball. Here's the screenshot.

  4. #4
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    Alright, I fixed those two problems. Get the updated version from:

    http://leeman_s.tripod.com/leepong.zip

    or from the attachment

    oh and nope, no books. just the tutorials from www.winprog.org

  5. #5
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    whoops, forgot to attach

  6. #6
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    When i resize the window i lose

  7. #7
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    Oh, I forgot to take away lives, heres the MOST updated one:

    anyhow, is it good for my first game with graphics?

  8. #8
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    It stoppes taking away lives when youre at 1 live

  9. #9
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    LOL thats a funny one...

    DId you have a look at sources of breakout by other people before programming your own?

  10. #10
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753
    Nope, I didn't look at any source for help. This was my first stab at it. Not bad, if I say so myself

    One of the reasons I couldn't look at other source is that I haven't learned about classes yet. Most other source for games like this involve classes, so I can't read it.

    I find it works real well though, if you just think about it logically. Like think, what should happen first, then next, etc.

Popular pages Recent additions subscribe to a feed