Devlog #5: Creating Pong game
After venturing on a lot of sidequests (HTM+CSS+JS), I’m back on Godot, baby! ngl, Godot is by far the simplest thing to code on. Plus, it’s really, really fun.
I’ve managed to create my 3rd minigame: Pong game
Goal:
- Keep bouncing the ball using your paddle for 30 seconds straight.
- If the ball leaves the screen, you lose a life.
Features I’ve added:
- Ball bouncing off the walls and paddle
- Ball bouncing SFX
- Easily movable paddle (controllable by mouse and touch screen)
- Black starry background
One thing I struggles with originally was that the paddle was bouncing off the screen once the ball hit it. So to solve that problem I switched my paddle from CharacterBody2D to StatucBody2D
NOTE: You may not be able to see the timer. But the game will end within 30 second, trust me! It’s just so as to introduce as element of suspense.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.