My approach for matching puzzle swap that utilize flood-fill
Develop games in your browser. Powerful, performant & highly capable.
Isn't this topic still related to previous thread?
Even the archive file is exactly the same.
Here a working sample: https://dl.dropboxusercontent.com/u/659 ... _flip.capx
I looked into the event how background continuously reposition seamlessly. Same logic apply to land-block generation, so it actually just only one object. The consequence of this treatment is we broke previous coin summoning system that rely on pin behavior. I removed pin behavior from coin object and replace it with bullet behavior. Now the coin move synchronous with the land movement.
The result:
https://dl.dropboxusercontent.com/u/659 ... hance.capx
That would be pretty simple. You just need to spawn 'line sprite' then adjust it's width.
<EDIT>
Ah yes You bought paid template.. Here I posted a sample how to create connecting lines between dots:
Use flood-fill with 8 direction detection as proposed by R0J0:
http://dl.dropbox.com/u/5426011/example ... chain.capx
I use his method for columns puzzle prototype.
It's due to the system you created for land generation which I didn't interfere. Maybe I will take second look into the capx or You can make an adjustment by yourself.
I revised & add some code:
https://dl.dropboxusercontent.com/u/659 ... vised.capx
http://www.photoshoplady.com
You do not have permission to view this post
For only rolling dice thing, I have one here: https://dl.dropboxusercontent.com/u/659 ... _dadu.capx
jogosgratispro
I believe you can achieve that with some adjustment. In future moment I will make bubble shooter too. I've done three puzzle mechanic until now, collapse puzzle, slide puzzle and column puzzle. Oh yes crossword too if it counted.
Member since 22 Feb, 2012