This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

giovanni
giovanni presents ...

2019/5/14

PongGame

used the left and right arrows to control paddle 1 and "a" and "d" to control paddle2

1118 views / 502 in the last 7 days

Tags: game kratzberg_spring2019

Your browser does not support the canvas tag.
ViseVise

2019/5/14

It's probably more logical to have the up and down arrow as inputs for one player and the other player have keys such as 'w' and 's'. Collision detection needs some work. There are many different collision detection algorithms that you can look up on the internet for reference.

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.