Replace "is loopindex=0" to "for 0 to 1" and "Set text is" to loopindex then you are good to go.
Develop games in your browser. Powerful, performant & highly capable.
Here try it: dropbox.com/scl/fi/h943c9x4no574uy540alo/swivel_plank.capx
I am thinking about optimizing the code later but that's it for now.
So it is like trap door? The turn based on torsion & center mass shifting correct?
Buildbox officially incorporating AI to their engine so I suggest you try it to directly make good use of AI. But in Construct what makes sense is real practical with real example project/demo to learn with.
Interesting math project. I also have line intersection demonstration: dropbox.com/scl/fi/lh0g2298l1nw5il5ny1n9/line-intersect.capx
It's never too late for cool example. Nice one Asmodean!
I have close example to what you are looking for:
dropbox.com/scl/fi/tg77zet7t37gpmilvtyrd/collapse_puzzle_rev.capx
> Roughly it just creates attachment points around all the attached objects, and then deletes invalid points that overlap other attached objects. > > It keeps track of what's attached with a boolean variable and doesn't let moving objects get attached so you can throw them. Also it keeps track of the order the objects are added with a number variable. > > dropbox.com/scl/fi/7vf4eia7vzvmnzd8hoi6g/dynamic_attaching.capx
> Roughly it just creates attachment points around all the attached objects, and then deletes invalid points that overlap other attached objects.
>
> It keeps track of what's attached with a boolean variable and doesn't let moving objects get attached so you can throw them. Also it keeps track of the order the objects are added with a number variable.
> dropbox.com/scl/fi/7vf4eia7vzvmnzd8hoi6g/dynamic_attaching.capx
Oh wow it's like a bubble shooter but in reverse!
Track shifting example: dropbox.com/scl/fi/lni4b6qe6mxay8f18zocr/track_shifter.capx
In this example I just show how to change lane which you can change the trigger based on your requirement.
If you already create action for each direction string you can put the 8Direction pressing simulation there. Since you are using Gamma & Beta orientation make sure test the project using gadget that has accelerometer.
You can't put failedCount < 15 and failedCount >= 15 under same event, I mean sub event. Just separate them to two different event without nested to each other.
In Construct first frame indexing as frame 0
When clicked set animationFrame to abs(Sprite.animationFrame-1) or (Sprite.animationFrame+1)%2
> Offline login (matching keyword): dropbox.com/scl/fi/htwm06lgjto8h4t8gbp7h/login.capx
Local Hi-scores: dropbox.com/scl/fi/dba7yw6876u841mbnll3m/contoh_highscore.capx
It is: dropbox.com/scl/fi/w6mjtd46p994n4dguweat/4-direction-press-touch.capx