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

2014/12/8

Moving on the y-axis

ZNAB ZNAB

2014/12/8

#
Could someone please tell me how to move an object on the y-axis? I currently only know how to move an object on the x-axis with the "move" code. I'm using the "if (Greenfoot.isKeyDown)" and I want to move my object either up or down, not turn.
ZNAB ZNAB

2014/12/8

#
LOL! Never mind, I figured it out. I forgot to use the "setRotation" command. :-P
You need to login to post a reply.