nesdev.com
http://forums.nesdev.com/

Pong (3-5-18)
http://forums.nesdev.com/viewtopic.php?f=22&t=17188
Page 1 of 1

Author:  infidelity [ Sun Mar 25, 2018 9:19 am ]
Post subject:  Pong (3-5-18)

My 2nd NES game that I wrote from the ground up

Pong
http://acmlm.kafuka.org/uploader/get.php?id=5309

This one was a bit tricky to whip up, because it is the first where I had to create my own sprite hit detection.

The paddles, I made it so the velocity of the ball changes when it hits certain spots of them. The outermost parts of the paddle ricochet the ball fastest, where close to the center/dead center, will result in a slower velocity.

The hit detection is not the best, especially at the very tips of the paddles, again this is my first time so go easy on me, heh.

This is also my first time in trying to create AI. It's not the best in how I went about it, when you try out first player, you'll notice pretty quickly how the AI paddle functions.

The scoring goes from 0 to 255, once you pass 255 it simply goes back to 0.

I wanted to stay as close to the arcade version as possible.

Thanks to all who download it and try it out. :-)

-infidelity

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/