What's the problem with my set? (With picture)

0 favourites
  • 3 posts
From the Asset Store
An educational game for counting pictures. An easy to use template for developers to build larger games
  • [attachment=0:celoh5fq][/attachment:celoh5fq]

    So this is it.

    Below:

    If TOP = 4 > On touched picture 1 > Stop all

    ----------------------------------------------Set TOP to 1

    --------------> On touched picture 2 > Stop all

    ----------------------------------------------Set TOP to 5

    ---------------> On touched picture 3 > Stop all

    ----------------------------------------------Set TOP to 5

    etc.

    So what i want?

    If i start it, play a song randomly between that 9 songs... okay it works fine at first time.

    If i touch picture 1 start randomly choosen song again... This is not really working because something cunfused and starting to play all 9 songs at same time awhile... then stop all and 1 starting to play and if i touch picture 1 again gonna be even more confusion later...

    What's wrong with it?

    Thanks!

  • Your events are cascading. Keep in mind that this event-sheet is read by the system almost 60 times per seconds from Top to Bottom.

    It seems like your Set "TOP" to X are executing one after another. I'm not exactly sure about what you try to achieve but there must be an easier way to do it. A way that is less confusing for the system I mean.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah i think you're true.

    I gonna rebuild it from the beggining

    Thank you for the advice!

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