Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Breakout Pong code like NES Pinball bonus

Author
Message
Luigison
20
Years of Service
User Offline
Joined: 9th Jun 2003
Location: California
Posted: 9th Jun 2003 11:27 Edited at: 10th Jun 2003 17:15
I working on a 1-player pong style version of breakout. Does anyone know if one exists already or if there is a tutorial for a game?

The code I am playing with is below.


It still doesn't do a few things I want like have Mario walk back and fourth carring the pong board instead of sliding, and have the fireball rotate and have a transparent background. I haven't put in the breakout blocks yet and was wanting suggestion on how best to do that or with help on anything in the code. If you want the bitmaps I am using you can get them at http://www.geocities.com/dr_shows/pong/ or email me at dr_shows@yahoo.com

If you can help or have any suggestion reguarding the above code and things I want to do with it please let me know. I will gladly return the favor if I can.

Thanks to dbheaven.com for the original solo pong code on which my game it based.

Luigison
20
Years of Service
User Offline
Joined: 9th Jun 2003
Location: California
Posted: 10th Jun 2003 17:17
Sorry, I didn't include the code Snippet before. It is now in the above post.

MasterPig
20
Years of Service
User Offline
Joined: 18th Jul 2003
Location: United States
Posted: 19th Jul 2003 05:49
To do the bricks, you could store the coordinates in a data structure and load them into arrays. I'm just thinking off the top of my head, though. Hope it at least gives you an idea. You would also have to consider the states you want your bricks to have, like in some breakout clones after you hit the brick once it would change color and such. After the second hit it would disappear. I'm just babbling, though. Maybe (and I know there most definitely is) there is a coder out there who could help you better than I have.

Chugga chugga chugga chugga chugga chugga chugga chugga chugga chugga CHOOO CHOOOOOO!!!!

Login to post a reply

Server time is: 2024-02-26 20:48:44
Your offset time is: 2024-02-26 20:48:44