Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hello, I am very happy to have bought Cute Fantasy, but I would like some advice: how to make the animations made with the tools (axe, pickaxe, ...)? I can't superimpose (properly) the player sprite and the corresponding sprite of the tool. However, the illustrations provided show that it is possible.

I have a lead that I hesitate to use: add a Tool gameobject to the character. Indeed we finally have access to a SpriteRenderer.Sprite property in the animation window, but I doubt that this is the most suitable method.

From what i can get from your message I suppose you use unity. So I would try to add a child gameobject to the player andd change sprite renderer sort order to make it visible above player sprite. I think it should work. 

There are also player animations alreaddy combined with tools animations so you may just also use those. Depends on what you want to make.

What i did was have 2 child game objects under the "Player" gameobject, each with animator components.  I have a player animator controller for all the player related animations.  For tools/weapons i have separate controllers and they are swapped out depending on which is "active"...   I use ScriptableObjects to configure the different tools...    Just what i came up with...