Page 1 of 1
Crazy Pong
Posted: Sat Jun 03, 2023 10:04 pm
by DusanStrakl
I am in process of updating all my tutorials and games to support latest version of Emulator. Currently this is R43.
Crazy Pong is written completely in assembly and it comes with detailed walk through the code.
Access to full source code and tutorial is on my blog at:
https://www.8bitcoding.com/p/crazy-pong.html
Binary to download is also available here:
Or you can Try It Now! online.
Enjoy!
Re: Crazy Pong
Posted: Sat Jun 03, 2023 10:12 pm
by ahenry3068
I like

.
It will be a challenge to see if I can get something similiar
working in BASIC. Maybe in Prog8
Re: Crazy Pong
Posted: Sat Jun 03, 2023 11:25 pm
by DusanStrakl
ahenry3068 wrote: ↑Sat Jun 03, 2023 10:12 pm
I like

.
It will be a challenge to see if I can get something similiar
working in BASIC. Maybe in Prog8
It should be doable. If you do it in BASIC the only major change will have to be in collision control. You can't implement hardware collision detection between sprites in BASIC but math should be simple enough to run more than fast enough.
The main goal for me writing this game was to complement it with detailed tutorial in exactly how to do those things in assembly and pong seems to be pretty much the simplest game I could think of.
Re: Crazy Pong
Posted: Sat Jun 03, 2023 11:52 pm
by ahenry3068
I was never much of a game programmer myself.. I was more into business stuff. I wrote a really really
good DOS graphical shell, about the only shareware I ever got license fees for.
Honestly when I think back. Most of the code I wrote that got used for actual day to day tasks where in
DBase first and then later in MS-Access. Access was/is an extremely powerful platform giving you both
SQL and Visual Basic in one platform.
Re: Crazy Pong
Posted: Sat Jun 03, 2023 11:53 pm
by ahenry3068
That being said. I should write a Pong Game after I'm done with Hangman

Re: Crazy Pong
Posted: Mon Jun 05, 2023 1:46 am
by DusanStrakl
ahenry3068 wrote: ↑Sat Jun 03, 2023 11:52 pm
I was never much of a game programmer myself.. I was more into business stuff. I wrote a really really
good DOS graphical shell, about the only shareware I ever got license fees for.
Honestly when I think back. Most of the code I wrote that got used for actual day to day tasks where in
DBase first and then later in MS-Access. Access was/is an extremely powerful platform giving you both
SQL and Visual Basic in one platform.
Ha ha, very similar to the start of my career. I also started with DBase and coding in Clipper, FoxPro and Visual FoxPro on DOS/Novell and later moved to more system software and mostly using C/C++ on various Unix systems (HP-UX, AIX, Solaris etc.). Before that during high school I wrote several assembly games on Oric (6502 CPU).
Re: Crazy Pong
Posted: Mon Jun 05, 2023 2:03 am
by ahenry3068
Funny thing. My career was always Shipboard engineering...... Pumps, valves, turbines, engines...
I was always that extra guy who also understood computers.. It made my Navy career kinda funny.\
Ran a part time business between 94 and 99 buying and reselling used computers and monitors
from auctions so I have a little hardware knowledge. I've recently been intrigued by
"Adrians Digital Basement" ... I used to do a lot of the same stuff getting those
old system ready for resale....

One thing Adrian has done that I never did is
try to resurrect MFM harddrives. Even back then when they were < 10 years old I just
trashed them if they didn't work............. lol
Re: Crazy Pong
Posted: Mon Jun 19, 2023 1:12 pm
by mobluse
Crazy Pong ball just moves exactly horizontal and not slanted when I tested it now using the
Try it now! link. I think you should add some randomness to the direction when the ball bounces and when it starts.
I made a pong game in Scratch in 2013:
https://scratch.mit.edu/projects/11071175/
Re: Crazy Pong
Posted: Mon Jun 19, 2023 5:09 pm
by DusanStrakl
mobluse wrote: ↑Mon Jun 19, 2023 1:12 pm
Crazy Pong ball just moves exactly horizontal and not slanted when I tested it now using the
Try it now! link. I think you should add some randomness to the direction when the ball bounces and when it starts.
I made a pong game in Scratch in 2013:
https://scratch.mit.edu/projects/11071175/
Hi mobluse, the ball will bounce off the paddle at different angles if the paddle is moving at the time of contact. If you are moving up the ball will get upward momentum so you can increase or decrease the angle. In fact the ball can move at 5 angles 0, 15, 30, 45 and 60 degrees. Full source code and description is on my blog:
https://www.8bitcoding.com/p/crazy-pong.html
Re: Crazy Pong
Posted: Tue Jun 20, 2023 6:28 am
by mobluse
Thanks! I've got it working now. You might want to add an instruction about how to change the vertical speed.