[Adventurer] Seeing Is Believing


#1

The level Seeing is Believing is ready for playtesting.

This level is in the Game Dev 1 campaign, it introduces the ui.track() command for showing game information to the player.


#2

Python default code

hero = game.spawnHeroXY(20, 20, "samurai")

In description

game.spawnHeroXY("captain", 24, 37)

#3

And there some problem. Hero moving, but not attacking.


#4

In Game Dev levels you make a game, and then play the game. To play the game you click on enemies to attack them.


#5

Nice level.

weird, looks like both of these work

hero = game.spawnHeroXY(20,20,"samurai")
hero = game.spawnHeroXY("samurai",20,20)

but not this (I had to try)

hero = game.spawnHeroXY(20,"samurai",20)

and this just ignores the last 2 arguments

hero = game.spawnHeroXY(20,20,"samurai",40,40)

#6

Thanks for the reports!

I’ve fixed the spawnHeroXY argument order to be the intended way :slight_smile:

Not sure about the not attacking - it seems to be working okay for me. The usual cause of not being able to move/attack with the hero in Game Dev is if the student uses spawnXY instead of spawnHeroXY for the hero.


#7

Ah, I see the problem.

The comment said to change the hero’s attack but it should’ve said attackDamage.

It looks like you did hero.attack = 20000.

Try using hero.attackDamage instead. I’ve updated the comments to be more correct.


#8

Yes. Thats it. Thanks.