This early capx cover basic sliding & snap row of blocks.
live_demo
next update will be fully commented capx.
Thanks for sharing alextro! Haha it is very interesting and nice to learn new things!
rekjl
Yes, discover how things work is such a pleasant.
There is open possibilities to achieve spesific game mechanic with our current knowledge.
And.. feedback will seed our dream game come to release
Haha. I gave it a try and had a look at the events...(which made my eyes . I will try to take another look soon to better understand it, or wait for your next capx that is commented. But without a doubt, this will be of great help to many.
as promised I drop the comments on this rev1
The code is not change from previous capx, only commented.
Now I'm working for warp-offset and will upload it as separate capx so you can compare what is changed
Update rev2
Introduce offset cloning in an axis, which is line up into the quee.
Code optimization, also smoother-responsive control when dragging start to initiate.
live_show
alextro, wow! The movement is really smooth, and the special effect of showing you which direction you are moving the blocks in is really nice! This should be a fantastic template for those that want to learn how to do swipe style puzzles! Thanks for sharing alextro!
Thank's for sharing your capx.
But how to play this game?
Course after I finished the matching system the game will actually play
A0Nasser
Now the game is playable. Swipe or tap to crush match-2 color blocks!
play_demo
The good things is the game done in 49 events!
Develop games in your browser. Powerful, performant & highly capable.
Wow! Nice! Going to download and try it out alextro!
I had hard times dealing with the matching-system. There is several method to achieve the flood-fill mechanic, thought It can be more time consuming to solve.
Good to hear you just play-test the game
alextro
You might find the flood fill example in this thread from R0j0hound useful for your example.
https://www.scirra.com/forum/in-something-enclosed-or-is-it-just-me_p599726?#p599726
Awesome work thank's.
Thank's zenox98. I have see and download that example before, which is really smart solution.
My approach might be more suitable for my previous demo:
Gotta study more deeply about picking methods and how to manipulate them for advantages!