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

2021/3/16

Steam looks weird

BlueHand BlueHand

2021/3/16

#
I'm doing a project that involves a ball emitting objects and it is based on this video: https://www.youtube.com/watch?v=vpdIYj3MmT4 The code is very similar. For my project, the ball is stationary and there is no paddle. Because the ball isn't moving, my steam particles (smoke class in the video) are moving to the right. How do I make them move up?
danpost danpost

2021/3/16

#
BlueHand wrote...
Because the ball isn't moving, my steam particles are moving to the right. How do I make them move up?
Put the following in your Steam class:
public Steam()
{
    setRotation(270);
}
You need to login to post a reply.