This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
hockeydude1155
wrote ...
2016/10/31
how to make an image move constantly to the left
hockeydude1155
2016/10/31
#
i have no code to share so far i have no idea how to start off but the actors name is background.
hockeydude1155
2016/10/31
#
nvm i just used a boolean set it to true and an if statement so when it's true witch it always is move -6
Nosson1459
2016/11/1
#
either
move(-6);
or
setLocation(getX()-6,getY());
the diff. is dat "move" will be based on which way background is facing "setLocation" will move left regardless
You need to login to post a reply.
X