Hero's Journey 3rd level in game development

This Is The Code Im Using But I cant fiqure out whats wrong

game:spawnPlayerXY("captain", 10, 10)
game.addMoveGoalXY(30, 30)
game.spawnXY("fence", 36, 30)

you need to add the game.setMoveGoalXY() comand

1 Like

you also need game. not game:

1 Like

i don’t see that method but i did change the game: to game.

also this is lua sorry forgot to mention that

Screenshot 2022-09-27 165805
oh i ment add

What is the problem?

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.