Genie effect?
3absh
Member Posts: 601
I'm trying to make a "genie" shrink effect for Actors, similar to minimising a window on a Mac.
I tried experimenting with the interpolate width and height sizes of an object but unfortunately with no prevail.
I need help on this one
Comments
I think I recall Joe @firemaplegames doing something like this. (But this was probably 4 or 5 years ago and I could be wrong about who and how.)
I believe he rotated the actor to 45 degrees. (The image would need to be rotated 45 the opposite way to make it look straight.) Then its possible to manipulate the actor's width and height to get a stretching effect.
You might combine it with the blur effect mentioned here: http://forums.gamesalad.com/discussion/87327/is-there-a-rule-or-command-to-blur-anything-behind-an-image/p1.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I thought this was a fun challenge.
So i tried my best, don't know if it's good enough.
I made it move in an S shape and resizing toward target while spawning tracers.
You can change number of steps (game.steps to make it faster or slower).
Oh yeah, click somewhere away from the image, to see it moves and shrinks as it moves to target.
Excellent man,
my idea here is to make collected items transform (as a trace only not the original actor) to the status icons on the top left corner, where the icons get a small bump effect and glow after the trace touches them.
Your concept is good but it's missing the "liquid" or swirl kind of effect, I'm not sure if a blur effect can be implemented here, and I don't think it would that much of a difference, since the effect is going to be quite fast..