Skip to main content

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

Enemy State Bug

A topic by Malleo Games created Aug 16, 2022 Views: 249 Replies: 3
Viewing posts 1 to 2

I added standard state for the enemy and after that  he stopped moving. I can attack him and he will play hurt and dead animation, but he doesnt move and attack me. Is it bug?

State:

image Zombie 0 12

state IDLE NONE 0

frame 0 0.125 0 0 0 NONE

frame 0 0.125 0 0 0 READY

state WALK NONE 0

frame 1 1 0 0 0 NONE

frame 2 1 0 0 0 NONE

frame 3 1 0 0 0 NONE

frame 4 1 0 0 0 READY

state ATTACK WALK 0

frame 5 0.25 0 0 0 NONE

frame 5 0.25 0 0 0 NONE

frame 6 0.0625 0 0 0 NONE

frame 6 0.0625 0 0 0 ATTACK

frame 5 0.25 0 0 0 NONE

frame 5 0.25 0 0 0 READY

state HURT WALK 0

frame 7 0.125 0 0 0 NONE

frame 8 0.125 0 0 0 NONE

state DEATH DEAD 0

frame 9 0.166 0 0 0 NONE

frame 10 0.166 0 0 0 NONE

frame 11 0.166 0 0 0 NONE

state DEAD NONE 0

frame 12 0.125 0 0 0 NONE

frame 12 0.125 0 0 0 NONE

WALK is now called CHASE, also you need to add the SEE state that leads to CHASE state.

Oh, okey, thank u I'll try it soon.

Yeah, It's working now! Thanks! ^^