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.
Develop games in your browser. Powerful, performant & highly capable.
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.
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"?
Run "select" layout, press Reset to clear storage.
It definitely works. I can't help you if you can't even run and test my project.
Member since 26 May, 2016 Last online 11 Oct, 2026