• Register

Sticks & Stones is an action/roguelike/survival inspired by such games as Nuclear Throne, Don't Starve, How To Survive and Below with crafting and light-hearted humor. The game places us in a near future reality show where you have to use your best abilities to survive the environment, and defend yourself from special hologram projecting spheres looking to give you a whole lotta whoopass!

Post news Report RSS How We Did It - The Engine - Second Part

Again we take a look into how our game engine works: this time we'll talk about what we like to call Real Time Object Transformation.

Posted by on

Last time, we started talking about our engine (YokaiEngine) and how we were able to make art changes during any part of development with little to no cost. Today we're gonna talk about what we call Real Time Object Transformation.

Recalling a bit, one of the big strengths of the engine lies in how we can include Flash animations in the game without too much hassle.


Now, when doing Flash animations, it is highly advised that you separate your characters (assets, etc) into separate objects, either for when you're drawing or when you're animating. In our case, following again our hero Siegried, we gave a name to each part of his body, as in:


Now, since the engine maps all quite nicely to code, we are able to access each of this objects and transform them whenever and however we like.

We can substitute one object for the other:


We can play with the alpha:


We can rotate each part:


We can scale!:


We can speed up or slow down the animation speed:


We could even change color:


As you can see, it get's fairly easy to make transformations this way. From then, our character is capable of changing with the environment: tilt the head, simulate wind, improve or change weapons and costume. Coordinates and pre-render worries, be gone! It's all subject to change.

What do you think? Could we be missing something?

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: