You haven't updated the High Score variable, only the local storage item. So Score is always > High Score and true.
Is set high score animation linked to an event that runs constantly? That would overrule the logic for high score animation finished, set back to default. If you can post a screenshot of the events that would help with this.
Not sure about that error but if you upgrade to Construct 3 it's much easier, you don't need to build with phonegap.
Nice progress, good luck with it :)
You can use 'set global variable' to 0 at a specific point, or the more risky 'reset global variables' which will reset all globals so that might not be useful here.
Hiya,
By in game and title screen do you mean they are 2 different layouts? If it's working in game layout you need to add the same events to the event sheet linked to the title screen. This will be set text to ""&score.
If you use system 'save' then you can load the game with all objects and variables in the same state.
It was worth moving to C3 before those things were added. Also the export options are better. Also the C3 runtime is better than the C2 runtime, there are blog posts about it like this : construct.net/en/blogs/construct-official-blog-1/announcing-construct-runtime-904
I am on discord ant#4434
Develop games in your browser. Powerful, performant & highly capable.
constant means it cannot be modified so it makes sense that it's not in the list. You can compare it but not change it.
Cannot offer any more advice but can resolve if the file is shared so I can see the problem :)
You could remove the variable check, for example if you stop moving but you set sound=off before this then it will not stop the audio. Sound can change between on/off very fast in one tick so you won't notice the change. If you can't work it out then try sharing the file.
Looks ok but maybe remove the unnecessary global variable check? Can sound be set to anything other than "on"? Maybe that conflicts somewhere.
Where you post reply there is img button and you can upload local image file. Or you could upload the actual construct file somewhere and share that.
Interesting, are you able to screenshot the events and share? If you do 'platform is moving'(inverted) - stop sound, then that should work really. Check that you are not moving by some other logic, or there are multiple objects and one is moving.