Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

shaun, im on episode 2 and when i run the game it says '

ERROR in

action number 1

of Create Event

for object <undefined>:

Variable <unknown_object>.direction(8, -2147483648) not set before reading it.

 at gml_GlobalScript_PlayerAnimateSprite (line 2) - var _cardinalDirection = round(direction/90);

############################################################################################

gml_GlobalScript_PlayerAnimateSprite (line 2)'

and i dont know what to do.

i did everything right.

If you didn't find the problem in the meantime, see my comment above^^