Hello,
i have a problem with the sword in my game. At first the player should hold the sword at -90 degrees (vertical) when "v" is pressed. Then the sword should go from -90 to +80, when v is released or after a amount of time (maybe half a second. But this doesn´t work quite good with turn or rotation commands, the sword moves to fast.
The move commands align the sword, that it sticks to the player.
mfg, crae
public void switchImage_attack1() { if(Greenfoot.isKeyDown("v")) { move(-115); turn(-90); move(95); } }