Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- #level/map file
- #- cloud-1:
- # cloud: 0.7
- # position: [0,400]
- # scale: [360,360]
- # image: ["levels/tileset_sky.png", [48,48], [0,0]]
- #
- #- cloud-2:
- # cloud: 0.7
- # position: [1600,400]
- # scale: [360,360]
- # image: ["levels/tileset_sky.png", [48,48], [1,0]]
- #
- #- cloud-3:
- # cloud: 0.7
- # position: [1200,-200]
- # scale: [360,360]
- # image: ["levels/tileset_sky.png", [48,48], [2,0]]
- - main-level-object-back:
- position: [0,0]
- scale: [1920,1920]
- image: levels/new_level_back.png
- #randomclouds: "levels/tileset_sky.png"
- - moving-platform:
- commands: "
- \nif self.position.x > 475 * self.scale_factor:
- \n self.variable_1 = 1
- \nif self.position.x < 425 * self.scale_factor:
- \n self.variable_1 = 0
- \nif self.variable_1 == 0:
- \n self.velocity.x = 12.5 * self.scale_factor
- \nelse:
- \n self.velocity.x = -12.5 * self.scale_factor
- "
- position: [425,840]
- offset: [0,0]
- scale: [37,8]
- image: levels/moving_platform.png
- solid: 37
- - moving-platform_2:
- commands: "
- \nif self.position.x > 475 * self.scale_factor:
- \n self.variable_1 = 1
- \nif self.position.x < 425 * self.scale_factor:
- \n self.variable_1 = 0
- \nif self.variable_1 == 0:
- \n self.velocity.x = 12.5 * self.scale_factor
- \nelse:
- \n self.velocity.x = -12.5 * self.scale_factor
- "
- position: [475,870]
- offset: [0,0]
- scale: [37,8]
- image: levels/moving_platform.png
- solid: 37
- - door-to-pub:
- animation: oncollision
- tpf: 5
- condition: "if main_game.keyboard.is_clicked(K_DOWN): self.timer = 1"
- commands: "
- \nself.animation_loop = False
- \nif self.animation_done:
- \n level = Level('level_pub.map', Vector(159*self.scale_factor,150*self.scale_factor))
- \n main_game.list_update = [level]
- \n main_game.list_draw = [level]
- "
- image: ["levels/door to pub animation/door to pub frames", "door_to_pub_frame "]
- position: [949,892]
- scale: [12,20]
- - three-tuns-sign:
- animation: oncollision
- tpf: 5
- condition: "if yvel > 125: self.timer = 1"
- position: [857,827]
- scale: [27,38]
- image: ["levels/three tuns animation/three tuns animation frames pixen", "three tuns animation "]
- - npc_old_man:
- interactive: npc
- position: [552,888]
- scale: [13,24]
- image: characters/old_man/old_man.png
- dialog: test_dialog.dialog
- - player:
- position: [504,864]
- - main-level-object-front:
- position: [0,0]
- scale: [1920,1920]
- image: levels/new_level_front.png
- tile_scale: [24,24]
- tile_solids: "
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ..........................#####.................................................
- ...........................###..................................................
- ................................................................................
- ................................##..............................................
- ................................##..............................................
- ................................................................................
- ................................................................................
- ...................................##...........................................
- ...................................##...........................................
- ................................................................................
- ................................................................................
- ................................##..............................................
- ................................##..............................................
- ................................................................................
- ................................................................................
- .............................##.......................########..................
- .............................##......................##########.................
- .....................................................#####...###................
- .....................................................####.....##................
- ...............................^^.....................####......................
- ..............................^^..................^^...##########...............
- .....................##........^^^...............^^.....#########...............
- .....................###^^^^#######.##############.......######.................
- ......................##....#######.###############.............................
- ......................##..#########..#######.....###............................
- ..........................####.#####.####.........#####.........................
- ......................^^^^###...####..##...........###..........................
- ..........................##.....####.##...........................####.........
- ..................................###........#########^^^^...####..####.........
- ..................................####.....############......####...##..........
- .............................###...####....######...####......##................
- ............................#####..#####....####.....####.......................
- ............................######..####..............###..#....................
- .............................#####...##.....###.......###.......................
- .....................######...#####.....##..####.....####.......................
- ......................####......##########...############...#...................
- .......................##........#########....##########........................
- ...................................#######......................................
- ....................................#####...#................#..................
- ................................................................................
- ................................................................................
- ...........................................##.##..............#.................
- ..........................................###.####..............................
- .........................................####.######........................####
- ........................................#####.#########....#####...........#####
- ......................................#######.###########################.######
- ....................................#########.##################################
- ..............................###############.##################################
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~###############.##################################
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- ................................................................................
- "
- - wheel:
- animation: loop
- tpf: 5
- position: [1100,840]
- scale: [96,96]
- image: ["levels/wheel animation/wheel animation frames", "wheel_animation "]
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement