Hey,
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:
From first lines of code the project was available at http://dragosha.com/hamster/ as html5 game
and this is important thing for indie developer - get feedback on early stage of project.
Cheers for the post @Dragosha! What were the main challenges with Defold for you? There should be a love/hate story I guess =] We love to learn from such at Defold.
Added a new card - the trap. It damages the hero when spikes is active and ignoring by hero when trap’s spikes downed. The state of card is changing each turn. The card is ignoring hero’s shield.
Added some sounds in game and the music theme for main menu.
Sound specific of Html5 version:
no sound in iOS (needs for mp3 supports?)
sounds are crackling in Android Chrome. ( in particular the fireball sound). Main music theme twitches and has a little delay when collections are loading.
there are some noises in desktop Chrome on Windows 10. Сlacks on scenes switching.
Began working on achievement system.
In plans: add several ‘rpg’-classes for main hero in addition to the existing (will be Knight). The Mage, Palladin, Golem and Assassin.
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.
(DEF-1549)
So, if we want to play queue of music tracks we need grab their lenghts to table and check it in update().
@Dragosha
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.