Construct 3 help

0 favourites
  • 3 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • I'm sorry if this isn't the right place for questions with development in Construct 3's beta but I didn't see another place to put this (other than Construct 2 help and that's a different version).

    I can't seem to get my animations to change, once it stops moving it switches to "Center" properly like I want it to near the top of the attached picture, but it stays on center without ever changing. Please help.

  • C3 is working correctly, it's the logic that a wrong.

    every 4 seconds "centre" is playing so it switches to "right", then immedialty it executes the code below, since its now "right" this condition becomes true so it changes to "left", then does the same for "Centre" again.

    You could try,

    every 4 seconds... set variable to 0.

    (sub events)

    animation centre playing AND variable = 0, set animation to "right", set variable to 1.

    animation right playing AND variable = 0, set animation to "left", set variable to 1.

    animation left playing AND variable = 0, set animation to "centre", set variable to 1.

    setting the variable to 1 stops the line below from becoming true until another 4 seconds pass.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • C3 is working correctly, it's the logic that a wrong.

    every 4 seconds "centre" is playing so it switches to "right", then immedialty it executes the code below, since its now "right" this condition becomes true so it changes to "left", then does the same for "Centre" again.

    You could try,

    every 4 seconds... set variable to 0.

    (sub events)

    animation centre playing AND variable = 0, set animation to "right", set variable to 1.

    animation right playing AND variable = 0, set animation to "left", set variable to 1.

    animation left playing AND variable = 0, set animation to "centre", set variable to 1.

    setting the variable to 1 stops the line below from becoming true until another 4 seconds pass.

    Thank you!

    Oh and sorry I didn't mean to imply I thought it was a Construct 3 problem, I knew it was completely an error on my part. But again, thank you!

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