animation/hotspot

This forum is currently in read-only mode.
From the Asset Store
4 Block Soldiers with different animations, 400x400
  • I tried out the following: create animation of a vertical line that turns into a ball. Ball falls on ground.

    Frame 1: vertical line.

    Frame 2: ball in center of where line once was.

    Question: how do I let Construct know that the ball in frame 2 must start in center of the frame 1-line?

    I tried not cropping frame 2-ball and use the same height/width as the line used, but didn't work.

    I tried the hotspot, in image editor. Worked, but when a hotspot is placed under (outside) the frame, the frame is displayed up side down.

    Am I correct for using the hotspot-function for this?

    (frame 3-6 should be: ball moves towards ground)

  • Does it have to be an animation? Can't you do it much easier? What I personally would do is make a private variable for the stick.

    Always:Subtract from Stick('timer') 1*timedelta
    Stick:Timer less or equal to 0:Stick destroy
    Stick:Timer less or equal to 0:Stick>Create object BALL[/code:9ffwlrfn]
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Does it have to be an animation? Can't you do it much easier? What I personally would do is make a private variable for the stick.

    Always:Subtract from Stick('timer') 1*timedelta
    Stick:Timer less or equal to 0:Stick destroy
    Stick:Timer less or equal to 0:Stick>Create object BALL[/code:1uy86y22]
    

    Thanks for the reply.

    What does "1*timedelta" do?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)