Can any body help to check my codes as the hero “captain” can’t move
thank
Spawn a maze. Change the number for a different maze!
game.spawnMaze(“forest”, 1)
game.spawnMaze(“forest”, 3)
Spawn a hero with spawnPlayerXY(type, x, y)
game.spawnXY(“captain”, 36, 30)
Add at least one goal!
game.addCollectGoal()
game.spawnXY(“gem”, 45, 60)
game.addMoveGoalXY(51, 44)
game.addMoveGoalXY(60, 56)
game.addMoveGoalXY(45, 30)
You could remove this line
Does it work now? (20 characters)
Can you show me a picture with your problem?
Or maybe try to spawn the hero with this
game.spawnPlayerXY("captain", 10, 10)
and put the move goals somewhere you can go.
amend already, still no respond.
And you click on the screen and nothing?
After you hit play? (20 chars)
click on the screen and never work…
hit play also never work…
Huh, that is wierd. Can you help him, @Deadpool198?
You have spawnXY as your code, not spawnPlayerXY. Fix that and all should be well.
yes, the spawnxy should be spawnPlayer. the problem solved.
thank you Ansedra and dedreous.
YAY you solved it(20 characters)