Log In  

Cart #pongbygeneralchaos-3 | 2022-05-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

Ever wondered what it would be like if pong went to the next level?

I think I may have found the answer. Try it out and tell me what you think.

Special thanks to dw817 for play-testing.

Note: Feels WAY better in full screen.

Controls

P1:

Use Z or X to accept/continue/etc.
Up and down arrows to move/select.
Left and right arrows to select difficulty. (Only at menu)

P2:

Use up and down arrows to move.

Rules

Try to get the ball past your opponent to score a goal(edge of screen) by moving your paddle into the
ball's path.
Move your paddle to keep the ball away from your goal.
The first player to win 2 matches wins the game!

Behind the scenes

This is my first pico-8 game ever. I thought I'd start with a classic.
It took around 3 hours to code, most of which was fixing the collision detection.
I ended up using some workarounds, including hard coding the take-off directions.
(Edit):
Fixed the takeoff by using a dy variable instead of direction, cos and cosine
because I couldn't make it bounce correctly.
The add-ons took about another 3 hours to code.

Credits

doc_robs: Made the collision function.
Coding and art (or lack of it) by me.
Inspiration from playing the original PONG.
Thanks to Lazy Devs for tips and tricks.

Versions:

V1 Released
V2 Added "English" spin
Added cpu smart A.I.
Changed ball speed
Changed paddle speed
Changed paddle size
Changed hardness ratings
Fixed collision issue
V3 Added quickstart
Added insane hardness
Added game over noise
Added magnet mode
Added extreme logo
Added multiple ball spawn
Added additional cpu support
Added extreme mode
Added extreme magnet mode
Changed ball speed
Changed player speed
Changed menu x2
Changed cpu targeting
Fixed balldust direction
Fixed player info display

P#108302 2022-03-09 00:59 ( Edited 2022-05-17 02:08)

There is no "English," @Loan Wulf.

That is if the ball were to hit the top of the paddle and it was already traveling up, it's vertical acceleration would increase.

If the ball were to hit the top of the paddle and it was already traveling down, it's vertical acceleration would decrease.

The opposite is also true.

Also in the original PONG (first release) the ball went faster and the paddles were smaller.

https://youtu.be/fiShX2pTz9A

The concept of "English" is standard with most PONG and BREAKOUT type games. If you need help, let me know and I can write you up some code to demonstrate this behavior and ability.

P#108308 2022-03-09 02:27

Thank you for your input dw817.

I watched the video and I see what you mean,
however when I went to implement it I found
out I'm going to have to rework the movement
mechanics first so it may be awhile.

As for the size I had NO idea!
I must have played a later PONG.
I think I'll add that in as part of the hardness
levels.

Thanks again!

P#108328 2022-03-09 14:46

You're very welcome, @loan wulf.

I have always had an interest in PONG and PONG type games. Reminds me a bit of real golf where it's important in which direction to hit the ball, except in this case you have an opponent blocking the goal.

And you are not alone. PONG has been approached by these users as well:

https://www.lexaloffle.com/bbs/?tid=46276
https://www.lexaloffle.com/bbs/?tid=45788
https://www.lexaloffle.com/bbs/?tid=45558
https://www.lexaloffle.com/bbs/?tid=44996
https://www.lexaloffle.com/bbs/?tid=44754
https://www.lexaloffle.com/bbs/?tid=44558
https://www.lexaloffle.com/bbs/?tid=44222
https://www.lexaloffle.com/bbs/?tid=43813

P#108334 2022-03-09 17:24

[Please log in to post a comment]