Problem with animations

0 favourites
  • 11 posts
From the Asset Store
4 Block Soldiers with different animations, 400x400
  • Problem Description

    Hi, i'm trying to develop an educative game but i'm havim problems when activate animation in my main character,is a energy conservation game and wagon wheels have to round but this animation inhibit the good game behavior,

    Attach a Capx

    dropbox.com/s/mrvcbl05g9wjh ... .capx?dl=0

    Description of Capx

    video game code

    Steps to Reproduce Bug

    • Step 1 Remove Hero animation (line 3) Make sure friction is ZERO (0)
    • Step 2 run the code, observe how is wagon doing it's job
    • Step 3 etc. active animation for wagon
    • step 4 Wagon will hit the spring and then freeze in the start point

    Observed Result

    Wagon will hit the spring and then freeze in the start point

    Expected Result

    Waggon has to oscilate forever

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    windows 10

    Construct 2 Version ID

    release 216

  • tito1986

    Your post needs amending to fulfil the requirements.

    You can post a valid link to your .capx by inserting characters into your url, for instance

    htt*ps://*www.mysite.com/mygame.capx[/code:1aqnxgeu].
    
    Also, ensure you are using an up to date version of C2. Release 216 is too old a version to use to report a potential bug for.
  • Sorry xenox, already i updated my construct 2 version and got same error.

    here is capx link bit.ly/1plU2uu

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry xenox, already i updated my construct 2 version and got same error.

    here is capx link http://bit.ly/1plU2uu

    This .capx is using r216 which is too old.

    Please update and submit with an up to date version, at least r221.

    Also, as per the Bug Reporting Requirements, only submit a minimal .capx that just highlights the problem. This .capx has far too many events and so is impossible to rule out an error in your events.

  • 'speed' is zero, though, so velocity is zero. -Hero.Physics.VelocityX is closer to what you want.

  • blackhornet but wagon has to start again automatically, i mean if you dont have wheels animation there is no problem but when i activate wheels animation exists a kind of bug because wagon stops.

  • Ah, I see now. I thought you were remove the whole event - just disabling the animation action is key.

  • blackhornet, what do you mean exactly?

  • Nothing - I misunderstood what you were disabling. The animation does seem to break the Physics mechanism for some reason.

  • make sure that the animations are in the same layer.

  • Closing, AFAICT this is a support request and not a bug report, please post to the "How do I" forum instead.

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