Skip to content

Pong but the window moves with the ball

License

Notifications You must be signed in to change notification settings

terraquad/winpong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Window Pong

Pong but the window moves with the ball.

(made in 2 days with raylib and Zig).

Note

This game was only tested on Windows, if you experience any bugs on another system, feel free to report it.

How to play

Blue/left player uses W and S to move up or down, red/right player uses I and K.

winpong-gameplay.mp4

Building

Dependencies:

  • Zig master
  • Git
  • An internet connection
git clone https://github.com/terraquad/winpong.git
cd winpong

# Make a release build optimized for your computer specifically
zig build --release=small
# See build options
zig build -h

The build will be located in zig-out/bin/winpong[.exe]

Important

Cross-compilation currently doesn't work due to Raylib linking to system libraries (tested on Linux over WSL).

Known bugs

  • Window sometimes resets with halfed monitor size

About

Pong but the window moves with the ball

Resources

License

Stars

Watchers

Forks

Languages