Not sure I understood your question correctly. If you want to round the number to two decimals, use this formula:
a = int(a*100) / 100
If you recreate 4 sprites, use "Wait 0" and then run then the same "For each (ordered)" loop. It will work.
I can't be any more specific!
On start of layout - add another sub-event:
System -> For Each (ordered)
Object: YourSprite
Expression: random(1)
Add this action: YourSprite set frame to: loopindex
You have disabled collision for your sprites. (on Properties panel)
Since you already have all 4 sprites on the layout you can do this:
System: For Each sprite (ordered), order by random(1) -> Sprite set animation frame to loopindex
Local Storage is not reset of course.
But if you've retrieved values into global variables and then reset global variables, then yes, you'll need to do this again.
Try Chipmunk Physics:
I think it allows to change the angle of gravity.
Check collision polygons in your sprites. If this doesn't help, post your .capx file here.
It's impossible to tell what could be wrong by your screenshots.
Develop games in your browser. Powerful, performant & highly capable.
Check out these links:
follow-path-behavior_t65382
https://www.scirra.com/tutorials/756/se ... -waypoints
There is nothing new in Construct 3 that can make this task easier.
You do not have permission to view this post
You forgot to add "Player invincible=0" condition to your "Player on collision with enemy" event on the screenshot.
When invinicble is not 0, the collision will simply be ignored.
newt
Good to know, thanks.
But if the background in the game is more complex, consisting of different sprites, or moving, scaling - then I guess it needs to be a part of layout, not set in html.
Member since 26 May, 2016 Last online 14 Aug, 2026