Yes the file originally to help local community. Here translated version: dropbox.com/s/nnb93iocudova20/monolar_en.capx
You can make the board any shape as long the tiles are in order:
dropbox.com/s/bmvecgyihrk8um7/Monolar.capx
Simple push will do: construct.net/out
Pick nearest object sufficient enough or utilize expression comparing two values by distance. Both way should applicable with any behavior.
Develop games in your browser. Powerful, performant & highly capable.
It's okay if you don't want to elaborate. We are here to discuss, learn & share problem to understand better in hope to provide solution.
Seems you want retrieve data but you put "send to URL" for AJAX command or I just misinterpret your intention.
It needs proper picking condition based on dot UID or IID. If you trying to create drawing route, there is already tutorial for that. Please check following page:
construct.net/en/tutorials/writing-game-959
Refer white dot objects as reference angle with action 'set angle towards position'. You will likely pick dot object ahead purple box each time the box reach a dot on it's way. As the consequence at least "counter" variable required.
Add another condition at event 4 so it won't allow guns to set angle towards mouse position when the distance less or equal to 25:
+ System: distance(Mouse.X, Mouse.Y, P_box.X, P_box.Y) > 25
The problem is at event 3 where the guns position conflicting with event 5 & 6 that also order guns to be at mouse coordinates.
I submitted the form. Hope to hear from you soon.
Of course. You just need to calculate it's bounce reflection angle.
On collision set angle to: bllt.Angle-((bllt.Angle-wll.Angle)*2)
dropbox.com/s/hpqmn0yuatjyhff/bllt_bounce.capx
*By the way the default wall angle rotated 90 degrees to ease the calculation.
Create something like this:
Are those fishes using boids to interact? Looking fish in motion makes me feel relaxed.
Thanks everyone they are nice examples to comprehend. Here what I came up with ternary operator:
dropbox.com/s/b7z57oxe8ual4cp/closest_between_value.capx