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

2017/6/9

how to make flow of objects from right to left

Venbha Venbha

2017/6/9

#
how to make flow of objects from right to left and repeat continuously till the end i am making that kind of game with shooting strawberries to score. i know of up to down but not right to left. if this game is success(and you help me) i will share this game and make every one say.......
Super_Hippo Super_Hippo

2017/6/9

#
public void act()
{
    setLocation(getX()-1, getY());
}
Venbha Venbha

2017/6/10

#
in the object you should write that code right?
Venbha Venbha

2017/6/10

#
Randomly in that side wherever but only from that side to this side random its not working .
BBurgerC7 BBurgerC7

2017/6/10

#
You write it in the object's act method. What it should do is go from right to left, I don't see why anything would be random.
Venbha Venbha

2017/6/11

#
Oh I will do that thanks (if working)
Venbha Venbha

2017/6/11

#

Ha

Venbha Venbha

2017/6/13

#

HELLO I DID IT! IT MAY WORK (BUT THANKS).

You need to login to post a reply.