Tagged Questions
1
vote
1answer
123 views
Handling multiple pressed keys with KeyListeners
I'm making a game Applet with Java that uses KeyListeners to control a paddle (for a game like Breakout/Pong). My basic implementation goes like this:
public void keyPressed(KeyEvent e) {
switch ...
0
votes
1answer
152 views
Control convention for circular movement?
I'm currently doing a kind of training project in Unity (still a beginner). It's supposed to be somewhat like Breakout, but instead of just going left and right I want the paddle to circle around the ...