Where do you have that "is empty" check? It should be performed AFTER the array is loaded from AJAX or Local Storage.
I'm guessing the check is done before the data is loaded from LS.
You need to change how you load the data. I assume you want to try loading from LS first, and if LS data doesn't exist, then load the default data from the project file.
Add Solid behavior, disable it by default. On start of the layout enable Solid for sprites with the red bar (comparing by animation name or frame number).
Most keyboards should support 3-4 simultaneously pressed keys. Especially typical keys used in gaming, like WASD, space and arrow keys. Try that link first, maybe the problem is not with your keyboard.
It works for me.
Your keyboard may not support certain key combinations. See this link:
microsoft.com/applied-sciences/projects/anti-ghosting-demo
What do you mean by list?
List object? Then yes, it's a pretty bad solution. How do you store item quantity?
Or do you mean a list in a text variable? Like "sword:2, potion:3" ?
I strongly suggest using a dictionary or array instead.
Have you tried Blend modes, as I suggested in your previous post?
If you have and it didn't work for reason, you need to post your project file.
Develop games in your browser. Powerful, performant & highly capable.
I would suggest using Timer behavior. You can run a timer for each balloon, for example:
On Tap Balloon : Balloon start "reinflate" Timer for random(3,5) seconds Balloon On "Reinflate" timer : Start "reinflate" animation
lionz It's pretty clear from the gif.
The easiest solution is to pin a camera sprite to the player at a distance using "rope-style" mode.
Can you try Firefox? Both Chrome and Opera are based on the same Chromium engine. But Firefox is different.
I have never seen this. Try a different browser. If it doesn't help, try updating your graphics adapter drivers.
Start a timer (using Timer behavior). While the timer is running keep checking that the variable is still equal the number. If not - stop the timer.
On Timer event - make the sprite invisible.
See "Blend modes" example in Construct.
Member since 26 May, 2016