You push the first value on X axis. Then update other elements on Y axis:
I also suggest trying JSON object. It's better suited to store such data, a lot more flexible and easier to use.
You can use various expressions:
Sprite.AnimationName
Sprite.AnimationFrame
Sprite.AnimationFrameTag
construct.net/en/make-games/manuals/construct-3/plugin-reference/sprite
Here is a working example
dropbox.com/scl/fi/c2tqjmuibpmb9wgmvobui/PhysicsRings.c3p
Here is an example with DrawingCanvas
dropbox.com/scl/fi/wf8dlw4ygoh9opovhabsd/DrawingCanvas_GetPixelColor.c3p
Can you post a picture or a video of how it's supposed to work?
Attach two invisible round sprites to the ring with joints.
Disable physics collisions between the ring and the stick. Enable collisions between the yellow sprites and the stick.
i don't have the source code i got the html5 source from another app ,
Then it's not possible to help you.
Contact the author of the game and ask them to fix the code.
Develop games in your browser. Powerful, performant & highly capable.
DarkViGaCi You don't really need "trigger once" in your case.
But your code is fine. Most bugs happen when people use this condition with objects that have multiple instances. Like "Enemy HP=0, Trigger once"
Functions that return a value can't be called directly, only from an expression:
Set myVar to Functions.FactorCalculations(param)
Another option is to fill each area with a unique color, paste the map on a drawing canvas, and then use expressions like DrawingCanvas.SnapshotRedAt(x,y) to detect the color of clicked pixel. The canvas object itself can be invisible.
See this post:
construct.net/en/forum/construct-3/how-do-i-8/rid-pointer-lock-messages-184857
Have you tried changing "Stepping mode"?
Member since 26 May, 2016