Actor flying away like a balloon when air comes out... how?
Hunnenkoenig
Member Posts: 1,173
I can't describe it in a better way.
I would appreciate any help to make an actor fly away like a balloon, when you let the air out of it.
You know...that plrrrrrr fly away... flying and rotating in every direction....
How would you do that?
I would appreciate any help to make an actor fly away like a balloon, when you let the air out of it.
You know...that plrrrrrr fly away... flying and rotating in every direction....
How would you do that?
Comments
That is, if it's just for esthetics, and the flying balloon itself isn't involved in the gameplay
Animation is not an option unfortunately.
I also have gravity enabled, which makes it more difficult.
It makes it easier to control other objects that don't need to be affected by gravity within the scene, I'm using that in my platformer, and only enabled it on my main actor, otherwise the enemies and pretty much, all other objects aren't affected by gravity since I'm not using it in scene
Then, make a rule like " when actor receives event - spacebar - down "
Constrain Attribute: Self.Motion.LinearVelocity.Y
To: Self.Motion.LinearVelocity.Y + 10
Hope this helps!
Animation: Animating Along a Curved Path
If you click on the example, you can see it in action.
I think this uses three points. If you change this to, say, 10 points, you might be able to achieve the effect you want of a balloon deflating.
Of course, you need to translate all this into the language of GameSalad. Maybe one of the math gurus in the forums can help with this...
I solved this now in the simple way.
I just let the actor fly straight to the sky, rotate it and add a pfllrrrr sound to it.
It is a very short sequence (because of the small screen) and it brings the effect, what I wanted.