kiki/coffee/levels/steps.coffee
monsterkodi 24af8b6cce follo
2016-08-15 01:08:47 +02:00

37 lines
1.2 KiB
CoffeeScript

# 0000000 000000000 00000000 00000000 0000000
# 000 000 000 000 000 000
# 0000000 000 0000000 00000000 0000000
# 000 000 000 000 000
# 0000000 000 00000000 000 0000000
module.exports =
name: "steps"
scheme: "blue_scheme"
size: [7,7,13]
intro: "steps"
help: """
$scale(1.5)mission:
get to the exit!
to get to the exit,
jump on the stones
to jump, press "$key(jump)" while moving
to move, press "$key(move forward)" or "$key(move backward)",
to turn, press "$key(turn left)" or "$key(turn right)"
"""
player:
coordinates: [3,0,6]
nostatus: 0
exits: [
name: "exit"
active: 1
position: [0,1,3]
]
create: ->
world.addObjectAtPos 'KikiWall', world.decenter 0,0,3
world.addObjectAtPos 'KikiWall', world.decenter 0,-1,1
world.addObjectAtPos 'KikiWall', world.decenter 0,-2,-1
world.addObjectAtPos 'KikiWall', world.decenter 0,-3,-3