My new and improved breakout clone! [Archive] - C Board

PDA

View Full Version : My new and improved breakout clone!


Leeman_s
01-13-2003, 07:26 PM
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

Nutshell
01-13-2003, 07:36 PM
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?

Nutshell
01-13-2003, 07:41 PM
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.

Leeman_s
01-13-2003, 07:56 PM
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

Leeman_s
01-13-2003, 07:57 PM
whoops, forgot to attach

Travis Dane
01-13-2003, 08:06 PM
When i resize the window i lose:(

Leeman_s
01-13-2003, 08:09 PM
Oh, I forgot to take away lives, heres the MOST updated one:

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

Travis Dane
01-13-2003, 08:11 PM
It stoppes taking away lives when youre at 1 live

Nutshell
01-13-2003, 09:04 PM
LOL thats a funny one...

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

Leeman_s
01-14-2003, 06:43 PM
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.