An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

## Pong!

![2](https://user-images.githubusercontent.com/50321432/194854879-57458d60-9a6e-4a73-9bcc-ea3329f0217f.png)

###### 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!