Memoization example for Fibonacci to avoid recursive stack: :
*note; Array size were predefined
Just in time object creation maybe? dropbox.com/s/m0jwoid9604jr9q/proto_platfo.capx
Objects will appear if they are about on viewport.
It's been asked so many times. See the example:
Kinda fun add subtle physics to the chain: dropbox.com/s/rh30yc2lh0iciy3/hook_chain.capx *happy hook-time
Kinda fun add subtle physics to the chain: dropbox.com/s/rh30yc2lh0iciy3/hook_chain.capx
*happy hook-time
Have a look: dropbox.com/s/x59fd2xjuwinl0h/bar_math.capx
And this one:
dropbox.com/s/vx16gdzap0nt5bs/grafik_bar.capx
Record turn direction for each block path by comparing their angle. Each time the path turning different way add 1 to a variable that acts as turning counter. So if the counter reach 3, cancel the route.
You are in track then. Just add some layer of logic with it. For instance make unrelated blocks (other blocks) as an obstacle.
Here my example for path routing:
fisholith Great references you got there. Interactive demo from Pathfinding.js sure teach a lot with various algorithms. And cool video demonstrates alternative method to achieve it. I am about to implement the case for existing flood-fill range demo: https://dl.orangedox.com/UkkZMMQmTfgSKdbeYx Actually that would be first part of tutorial (perhaps in future).
fisholith
Great references you got there. Interactive demo from Pathfinding.js sure teach a lot with various algorithms.
And cool video demonstrates alternative method to achieve it.
I am about to implement the case for existing flood-fill range demo: https://dl.orangedox.com/UkkZMMQmTfgSKdbeYx
Actually that would be first part of tutorial (perhaps in future).
First came to mind is 'path finding' method. It's about makes auto route from A to B with regards to possible path. Another keyword would be A-star and flood fill.
zoazo You can have it:
dropbox.com/s/zlzzce6u1phogeb/minisweepy.capx
Okay it's not actual lerp but also wasn't a lag as stated by Ashley;
Develop games in your browser. Powerful, performant & highly capable.
Just in case if anyone needed;
hierarcial pinning with lerp : dropbox.com/s/dweiseyefic0m3g/pin_to_pin.capx
My old example for match-2:
construct.net/en/forum/construct-2/your-construct-creations-23/collapse-puzzle-events-67531
match-3 connection example:
construct.net/en/forum/construct-2/how-do-i-18/connecting-match-3-99339
Literally the gameplay is all about what title says.
Player control only by sliding upside-down or side to side (a.k.a swipe). Falling blocks is automated but I think it is satisfying the fall feels like tetris does.
Member since 22 Feb, 2012