Game Programming

Pong WIP

by Cory on May 9, 2019 12:07 AM

Here's what I have so far:

I've instanced a second player paddle, and parameterized the player input. The left (P1) is controlled with "A" and "Z" and the right (P2) is controlled with arrow keys. I also put in a scoreboard and callbacks to reset the ball position and update the score on the left and right sides of the screen.

I playtested it with a few people too and fiddled around with the speed a bit. Kind of feels like I'm making games now. :)

I'm scrambling to finish this before this Saturday so I can do another thing. I want to at least add some sound effects, and finish off the game loop (game over on max score and restart).



This Thought is part of Game Programming

Game programming general topic. I eventually hope to split this into separate ideas exclusively about specific games that I make.

back to the

top