https://github.com/N1ckn1ght/HaxePong
A not-so-classic clone of Pong made in Heaps, Haxe
https://github.com/N1ckn1ght/HaxePong
haxe heaps pong
Last synced: over 1 year ago
JSON representation
A not-so-classic clone of Pong made in Heaps, Haxe
- Host: GitHub
- URL: https://github.com/N1ckn1ght/HaxePong
- Owner: N1ckn1ght
- Created: 2022-10-10T11:08:03.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-05T05:52:02.000Z (over 3 years ago)
- Last Synced: 2024-07-29T18:44:19.442Z (almost 2 years ago)
- Topics: haxe, heaps, pong
- Language: Haxe
- Homepage:
- Size: 756 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Pong!

###### Controls:
Use mouse to move your racket;
P - Pause;
F - Fullscreen;
Q - Quit;
Additional commands, if you have debug mode on:
O - Override AI controls on the second racket;
NumPad+ - Double the ball's speed;
NumPad- - Halv the ball's speed;
NumPad0 - Increase length of both rackets by 50 pixels.
###### Known issues:
First collision with the ball may cause a lag spike because of first sound playback.
Collision calculations with ball are made like it is a square, not an actual ball.
No side collision.
###### Known features (completely not bugs):
As in original classic Atari Pong, there are such "windows" at the corners of the screen that any racket can't cover. Hit the ball at the right angle to get a guarantee win!
There's a limit on which angle ball can move on - it never will move from upper side to the lower side of the screen without (or with really low) moment on X axis.
Yep, rackets are not rectangles (kinda because of collision issue).
###### Want more?
Check out the "Const.hx" file to play with numbers as well.
###### Gameplay footage:
https://youtu.be/aHqnN17qG-w
###### Executable:
See releases, there's a v1.0.0-debug version for now.
It's enjoyable, so have fun!