GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Genie effect?

abuabed84abuabed84 Posts: 502Member, PRO

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 Posts: 2,818Member, Sous Chef, PRO

    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 Posts: 11,696Member, Sous Chef, PRO, Senior Sous-Chef

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

  • tintrantintran Posts: 453Member
    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.

  • abuabed84abuabed84 Posts: 502Member, PRO

    @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.