I am using drag n drop on 6 items. Every time they are dropped in the correct place I add 1 to the global variable score.
I have a text set to score for a visual feedback and it is working fine. The score reaches 6.
When score = 6 I need a screen to slide in. However, though I think I have the correct code the slide does not move in.
Set up: 6 labels - 6 boxes - six check marks - 6 red crosses. (feedback items show when element dropped).
Code:
system/compare variable score
if score = 6 then move slide in (using LiteTeen) (LiteTeen is set to start from beginning)
This does not work so I added another global variable finished = 0
then I have if score = 6 then set finished to 1
if score = 6 and finished = 1 then move slide in - set animation to frame 0 (good! image)
if score < 6 and finished = 0 then move silde in - set animation to frame 1 (not so good! image)
Does not work either.
I tried to put the score variable on an every tick even too. still not joy!
Any idea why this is not working?