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

Get help using Construct 2

Post » Thu May 15, 2014 9:55 pm

OJOJ.jpg


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? :shock:
Thanks!
You do not have the required permissions to view the files attached to this post.
B
4
Posts: 29
Reputation: 262

Post » Fri May 16, 2014 12:24 pm

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.
B
17
S
3
G
3
Posts: 89
Reputation: 2,825

Post » Fri May 16, 2014 9:59 pm

Yeah i think you're true.
I gonna rebuild it from the beggining :)
Thank you for the advice!
B
4
Posts: 29
Reputation: 262


Return to How do I....?

Who is online

Users browsing this forum: Resslx and 32 guests