You do not have permission to view this post
This has been reported a lot lately but I've never seen it myself, and nobody can seem to reliably make it happen. I can't fix it unless I can reliably follow some set of steps that makes it happen on my computer. Any ideas?
Local variables reset their values to default every tick - this is by design, like local variables do in programming languages. Only global variables persist their values permanently (again, like programming languages).
I can see local variable descriptions OK here, maybe share your .capx?
Hello from Scirra!
I'd recommend the beginner's guide which covers things like mouse input and other Construct 2 basics.
You can use custom javascript in the Javascript SDK, and lots of plugins have already been made with it.
OK, I guess an acceptable workaround for the time being is just to use another browser when previewing, and IE9 will work once you've exported, it seems.
Try deleting the registry key
HKEY_CURRENT_USER\Software\Scirra\Construct2
When the New Project dialog changed, the next installer did this for you to prevent this bug happening, but it looks like you skipped that build.
How are you telling if the sounds are shortened? Are you playing audio in a browser? If so, the browser may have poor audio support, have you tried any other browsers? For example Safari for Windows tends to cut bits off sounds, it's a bug in Safari, your audio files are not actually shortened at all.
Develop games in your browser. Powerful, performant & highly capable.
How many platforms are there that have C++ compilers but not a HTML5 browser? I can't think of any major ones...
From the Delta-time and framerate independence tutorial:
ou can set the time scale to 0. This stops all motion. It's an easy way to pause the game. Set it back to 1 and the game will resume.
You might notice you can still do things like shoot using the game controls. You can get around that by putting your main game events in a group, and activating/deactivating that group as you pause and unpause.
Member since 21 May, 2007
The official blog for all things Construct and Scirra run by our employees!
Wider technology issues from Ashley's perspective.