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

2015/7/18

I need some help please.

kelalla kelalla

2015/7/18

#
I am currently trying to make a game in which when I hold down the left click button on the object, it goes up. Then when I let go of the object, it goes down. Please help me! Thanks! - Kelalla
danpost danpost

2015/7/18

#
You need to be a bit more specific. Are you dragging the object up (object moves with mouse)? Does the mouse have to continuously be on the object for it to move up and the object move at a steady pace without regard to the location of the mouse? Programming is a precise art and you need to account for all possibilities; not just in the coding, but also in how you describe the action(s).
davmac davmac

2015/7/18

#
kelalla, please (read this) and then try to be more specific with your question.
kelalla kelalla

2015/7/20

#
So when I click, the object rises. When I am not clicking on it, it falls down.
You need to login to post a reply.