进攻骷髅
进攻骷髅

这是我最近用Python编的一款游戏。

play-sharp-fill

这是代码

player=game.spawnHeroXY("samurai", 9, 47)
player.maxSpeed=100000000000000000000000000000000000000000000000000000000000000
player.maxHealth=10000000000000000000000000000000000000000000000000000000000000
player.attackDamage=50000000000000000000000000000000000000000000000000000000000
game.addDefeatGoal()
game.addSurviveGoal()
game.addSurviveGoal(20)
ui.track(game, "time")
ui.track(player, "health")
game.spawnXY("fire-trap", 21, 20)
game.spawnMaze("fire-trap", 5)
game.spawnMaze("fire-trap", 5)
game.spawnMaze("fire-trap", 5)
game.spawnMaze("fire-trap", 5)
game.spawnMaze("fire-trap", 5)
game.spawnMaze("fire-trap", 5)
game.spawnMaze("fire-trap", 5)
game.spawnMaze("fire-trap", 5)
game.spawnMaze("fire-trap", 5)
game.spawnMaze("gem", 2)
game.spawnXY("generator", 28, 29)
game.addCollectGoal(10)
game.spawnXY("fence", 24, 60)
game.spawnXY("generator", 28, 29)
game.spawnXY("generator", 28, 29)
game.spawnXY("generator", 28, 29)

player.maxSpeed的意思是玩家的最快速度
player.maxHealth的意思是玩家的最多生命
player.attackDamage的意思是玩家的最强攻击力
所以这个人物特别厉害。

如果你也想玩这个游戏,请点击下面的链接
周尔的游戏

最后修改日期: 2020年6月28日

作者