Genie effect?

3absh3absh 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

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,880

    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.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • tintrantintran Member Posts: 453
    edited July 2015

    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.

  • 3absh3absh Member Posts: 601

    @tintran said:
    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..

Sign In or Register to comment.