-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2 Player Ping Pong Game #1
base: main
Are you sure you want to change the base?
Conversation
Install node_modules
Make game fullscreen and add deltatime variable to update method
Create module.js and Player class inside to add movement for two players
Add Ball to the game and added top and bottom border collision to change ball direction
Check when the ball collides with the left and right borders to reset. When the ball collides with the users it bounces back
Set TextNode for players score
Add differente states like: START, PAUSE, GAME, also added app.reset() for start game all over
Hey @dev-oiram Nice work, can you do some edits? At the new branch, I want to see a couple of things
Let me know if there are any questions. |
Thanks, I´ll make the changes |
Introduction
A simple ping pong game created for the colonistio-test that can be played for two players con local machine.
Features
VideoDemo
GameDemo.mp4