Hey there. Just felt like coding up something quick for fun. Tried to sort of speed through it while still not making too much of a mess of it. Thus it's not elegantly written, but it's also not completely horrendous to look at 
Well, anyway, I made a quick little Pong game with SpriteKit targeting the Mac. You can get the code and a binary with the links at the bottom, here's a short video demonstration; It's nothing super special
If you download the game, here are some instructions. - Press space to start the countdown for a round. Arrows up and down control the right paddle, while w and s control the left, designed for multiplayer on the same machine for now. Might add game controller and online play if I get bored again, haha.
If you want to configure it a bit you can change the paddle's movement speed with the variable in the Paddle class and you can change the ball speed with the multiplier in the start game that makes up dx and dy.
GitHub:
github.com
App Bundle
Note that the app bundle is only signed for local execution, so your Mac might complain about developer signing certificates
Well, anyway, I made a quick little Pong game with SpriteKit targeting the Mac. You can get the code and a binary with the links at the bottom, here's a short video demonstration; It's nothing super special
If you download the game, here are some instructions. - Press space to start the countdown for a round. Arrows up and down control the right paddle, while w and s control the left, designed for multiplayer on the same machine for now. Might add game controller and online play if I get bored again, haha.
If you want to configure it a bit you can change the paddle's movement speed with the variable in the Paddle class and you can change the ball speed with the multiplier in the start game that makes up dx and dy.
GitHub:
GitHub - casperes1996/SpriteKitPong
Contribute to casperes1996/SpriteKitPong development by creating an account on GitHub.
App Bundle
Note that the app bundle is only signed for local execution, so your Mac might complain about developer signing certificates