Skip to main content

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

sorry friend. May i ask another question? lol Is there a way to have a hero sprite sheet to show a battle pose animation when in battle  for idle and move and attack and such with weapon drawn as well as a no drawn weapon pose when normally walking and moving not in battle?

Use conditional branch checkRange to check if there's any enemy nearby. If true then turn on switch "already changed image", then change player graphic image. If "already changed image" is ON then don't keep changing image. When no enemies nearby, change graphic back to your desired images.

Thank you kindly for the reply and info. I do have another issue. My sprites have 8 frames in 8 directions. I tried to incorporate the diagonals and for the attack it works fine but the move and idle and cast are all kind of double imaged. Cant get them working. Not sure why.

There's 8 dir sprite reference in the demo, folder characters/hero/8dir

You can check them and see the difference with your graphics.

I still cant seem to get this to work. Here is my sprite sheet. It is currently named $Template_Moving_f8.  On screen it shows an image and an image above.

(1 edit) (-1)

Well it has 8 directions so it should be $Template_Moving_8dir_f8.png. Please look at characters folder from the demo to see the correct reference.