once upon a time…
I asked myself, what I can do, quick, fun and 2d. I had some experience in graphics and some gamedev experience as indie developer from 2009. But second part of my experience burned down along with Flash games portals. After that I was looking for new engine for me, not just framework like AIR Starling and not rocket since like UE. Defold looks like what i’m looking for.
So, Hamster has begun over two month ago as “Defold study project” from the paper prototype:
By the way…there is a little bug:
If there seems the end of moves (your life is lower than the guys around and all other tiles are fadeout/flip to grey) and you pick up a barrel with a health-potion or fireball and you BEAT the opponents you can simply move/turn thru the grey (no enemy or item-card) cards o.O … just the new cards become any item/enemy.
A bit weird.
Found what we can’t known sound is playing or not. And there is no callback, message, etc for sound end.
So, if we want to play queue of music tracks we need grab their lenghts to table and check it in update().
I quess you check every move for “possible moves” and then call a function which turns the “not movable cards”. If not you may do so. From here I cannot understand where the problem is. Looks like after “turning the cards to impossible” you never check for possible moves.