Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- resource_files:
- - bossfight.res
- modules:
- - bossfight
- preload_animations:
- - resource_file: bossfight.res
- name: death-explosion
- - resource_file: bossfight.res
- name: electro-bullet-explosion
- - resource_file: bossfight.res
- name: dark-bullet-explosion
- - resource_file: bossfight.res
- name: blood-bullet-explosion
- - resource_file: bossfight.res
- name: dark-blue-bullet-explosion
- - resource_file: bossfight.res
- name: tiny-bullet-explosion
- - resource_file: bossfight.res
- name: boss-explosion
- preload_sprites:
- - resource_file: bossfight.res
- name: spellcard-prisoners-nightmare-background
- preload_audio:
- - resource_file: bossfight.res
- name: flandre
- preload_fonts:
- - resource_file: bossfight.res
- name: evil-empire
- text_atlases:
- - font_name: evil-empire
- resource_file: bossfight.res
- size: 35
- glyph_cache_entries: 1
- name: health-bombs
- batches:
- - name: player-bullets
- resource_file: bossfight.res
- spritesheet: cirno-shot
- z_sort: 0
- - name: boss-bullets
- resource_file: bossfight.res
- spritesheet: projectiles
- z_sort: 1
- canvases:
- - name: background-canvas
- width: $screen_width
- height: $screen_height
- center_x: $screen_width / 2
- center_y: $screen_height / 2
- z_sort: -2
- - name: character-canvas
- width: $screen_width
- height: $screen_height
- center_x: $screen_width / 2
- center_y: $screen_height / 2
- z_sort: -1
- - name: gui-canvas
- width: $screen_width
- height: $screen_height
- center_x: $screen_width / 2
- center_y: $screen_height / 2
- z_sort: 2
- game_objects:
- - name: cirno-player
- transform:
- x: $screen_with / 2
- y: 200
- scale_x: 2
- scale_y: 2
- rot_angle: 0
- z_update: 0
- z_draw: 0
- draw_target: character-canvas
- draw: true
- components:
- - name: player-hitbox
- type: player.Hitbox
- args:
- pos: V($screen_width / 2, 200)
- radius: 4
- active: true
- - name: player-grazebox
- type: player.Grazebox
- args:
- pos: V($screen_width / 2, 200)
- radius: 50
- active: true
- - name: player-health
- type: player.Health
- args:
- max_hp: 5
- active: true
- - name: cirno-player-animator
- type: ^Animator
- args:
- anim_list:
- - cirno-player-idle
- - cirno-player-turn-left
- - cirno-player-move-left
- - cirno-player-turn-right
- - cirno-player-move-right
- resource_file: bossfight.res
- active: true
- - name: motion-control
- type: player.MotionControl
- args:
- unfocus_speed: 800
- focus_speed: 200
- active: true
- - name: player-shooter
- type: player.Shooter
- args:
- picture: cirno-shot
- resource_file: bossfight.res
- speed: 1500
- damage: 2
- direction: $up
- draw_target: player-bullets
- cooldown: 100ms
- active: true
- - name: player-collider
- type: player.Collider
- args:
- pos: V($screen_width / 2, 200)
- width: 30
- height: 60
- approx_intensity: 100
- active: true
- - name: nue
- transform:
- x: $screen_width / 2
- y: $screen_height - 200
- scale_x: 2
- scale_y: 2
- rot_angle: 0
- z_update: 1
- z_draw: 1
- draw_target: character-canvas
- draw: true
- components:
- - name: nue-animator
- type: ^Animator
- args:
- anim_list:
- - nue-idle
- - nue-turn-left
- - nue-move-left
- - nue-turn-right
- - nue-move-right
- resource_file: bossfight.res
- active: true
- - name: boss-health
- type: boss.Health
- args:
- current_hp: 800
- max_hp: 800
- active: true
- - name: boss-hitbox
- type: boss.Hitbox
- args:
- radius: 80
- active: true
- - name: boss-nonspell
- type: boss.NonspellCircles
- args:
- bullet_pic: projectiles
- resource_file: bossfight.res
- positions:
- - V(500, 950)
- - V(980, 950)
- - V(1500, 850)
- cooldown: 980ms
- bullet_speed: 120
- bullet_angle_speed: 150 * $deg_to_rad
- active: true
- - name: north-border
- z_update: 2
- z_draw: 2
- components:
- - name: border-collider
- type: borders.BorderCollider
- args:
- a: V(530, 1030)
- b: V(1370, 1030)
- active: true
- - name: south-border
- z_update: 2
- z_draw: 2
- components:
- - name: border-collider
- type: borders.BorderCollider
- args:
- a: V(530, 50)
- b: V(1370, 50)
- active: true
- - name: west-border
- z_update: 2
- z_draw: 2
- components:
- - name: border-collider
- type: borders.BorderCollider
- args:
- a: V(530, 50)
- b: V(530, 1030)
- active: true
- - name: east-border
- z_update: 2
- z_sraw: 2
- components:
- - name: border-collider
- type: borders.BorderCollider
- args:
- a: V(1370, 50)
- b: V(1370, 1030)
- active: true
- - name: player-hitbox-gui
- transform:
- x: $screen_width / 2
- y: 200
- scale_x: 0.5
- scale_y: 0.5
- rot_angle: 0
- parent: cirno-player
- z_update: 2
- z_draw: 0
- draw_target: gui-canvas
- sprite:
- resource_file: bossfight.res
- picture: player-hitbox
- - name: panel-gui
- transform:
- x: $screen_width / 2
- y: $screen_height / 2
- scale_x: 1
- scale_y: 1
- rot_angle: 0
- z_update: 2
- z_draw: 1
- draw_target: gui-canvas
- draw: true
- sprite:
- resource_file: bossfight.res
- picture: panel
- - name: background-gui
- transform:
- x: $screen_width / 2
- y: $screen_height / 2
- scale_x: 1
- scale_y: 1
- rot_angle: 0
- z_update: 2
- z_draw: 1
- draw_target: background-canvas
- draw: true
- sprite:
- resource_file: bossfight.res
- picture: background
- - name: spellcard-background-gui
- transform:
- x: $screen_width / 2
- y: $screen_height / 2
- scale_x: 1
- scale_y: 1
- rot_angle: 0
- z_update: 2
- z_draw: 2
- draw_target: background-canvas
- sprite:
- resource_file: bossfight.res
- picture: background
- color_mask: RGBA(0, 0, 0, 0)
- - name: boss-health-bar-frame
- transform:
- x: 950
- y: 1000
- scale_x: 1
- scale_y: 0.5
- rot_angle: 0
- z_update: 2
- z_draw: 3
- draw_target: gui-canvas
- draw: true
- sprite:
- resource_file: bossfight.res
- picture: boss-health-bar-frame
- - name: boss-health-bar
- transform:
- x: 950
- y: 1000
- scale_x: 1
- scale_y: 0.5
- rot_angle: 0
- z_update: 2
- z_draw: 3
- draw_target: gui-canvas
- draw: true
- components:
- - name: health-bar-updater
- type: gui.BossHealthBarUpdater
- args:
- picture: boss-health-bar
- resource_file: bossfight.res
- active: true
- sprite:
- resource_file: bossfight.res
- picture: boss-health-bar
- - name: theme-player
- z_update: 4
- components:
- - name: theme-player
- type: ^AudioSource
- args:
- audio: flandre
- resource_file: bossfight.res
- active: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement