src / chapters / 1 / chapter_1.tscn
Diagram
Overridden virtual functions
_ready
func _ready() -> void:
set_initial_position()
redraw_wire_length()
set_target()
func _ready() -> void:
set_initial_position()
freeze = true
func _ready() -> void:
if obtained: hide()
func _ready() -> void:
if player_path:
player = get_node(player_path)
player.dashed.connect(fly_away)
if obtained: hide()
func _ready() -> void:
if not owner: start()
func _ready() -> void:
%MonumentDescription.hide()
func _ready() -> void:
playable = true
current = self
restart_position = global_position
turn_right()
_physics_process
func _physics_process(_delta: float) -> void:
if player and player.state != Player.State.FAILED:
var diff = %Platform.global_position - prev_position
player.global_position += diff
var dist = %Platform.global_position.distance_to(target_position)
if state == State.MOVING && 1 < dist and dist < MIN_DISTANCE:
launchable()
else:
unlaunchable()
set_prev_position()
func _physics_process(_delta: float) -> void:
if player and player.state == Player.State.CLIMBING:
var diff = global_position - prev_position
player.global_position += diff
set_prev_position()
func _physics_process(_delta: float) -> void:
if player:
var target := player.global_position + OFFSET
%Pivot.global_position = %Pivot.global_position.lerp(target, 0.1)
func _physics_process(_delta: float) -> void:
if touched and player:
var target := player.global_position + OFFSET
%Pivot.global_position = %Pivot.global_position.lerp(target, 0.1)
func _physics_process(delta: float) -> void:
var dx := Input.get_axis(&'move_left', &'move_right')
var dy := Input.get_axis(&'move_up', &'move_down')
var direction := Vector2(dx, dy)
var last_state := state
state = compute_state(delta, direction)
match state:
State.CLIMBING:
dx = 0
velocity.y = dy * CLIMBING_SPEED
State.DASHED:
velocity = direction.normalized() * DASH_SPEED
State.DASHING:
velocity *= DASH_ATTENUATION * delta
State.EXHAUSTED:
dx = 0
State.FAILED:
velocity.x = lerp(velocity.x, 0.0, 0.2)
velocity.y = lerp(velocity.y, 0.0, 0.2)
State.FALLING, State.SLIDING:
if last_state == State.CLIMBING \
and dy < 0:
velocity.y = JUMP_VELOCITY * 0.8
else:
var move_x := dx * SPEED * 0.8
if velocity.x * dx < 0: move_x *= 0.1
velocity.x = lerp(velocity.x, move_x, 0.2)
velocity.y += GRAVITY * delta
if state == State.SLIDING: velocity.y *= 0.8
velocity.y = [velocity.y, MAX_VELOCITY_Y].min()
if falling_time < 0.1 \
and Input.is_action_just_released(&'move_jump'):
velocity.y += DOWNFORCE_ON_LITTLE_JUMP * delta
State.JUMPED:
velocity.y = JUMP_VELOCITY
State.KICKED:
velocity.y = JUMP_VELOCITY * 0.9
velocity.x = get_wall_normal().x * DASH_SPEED * 0.4
State.LOCKED:
dx = 0
velocity = Vector2(0, 0)
_: pass
if not playable: dx = 0
if not (state == State.DASHED \
or state == State.DASHING \
or state == State.FALLING \
or state == State.KICKED
):
if dx: velocity.x = dx * SPEED
else: velocity.x = move_toward(velocity.x, 0, SPEED*0.2)
if state == State.JUMPED:
velocity += jump_boost
jump_boost = Vector2(0, 0)
animate(playable)
move_and_slide()
_process
func _process(_delta: float) -> void:
if not Player.playable: freeze = true
_input
func _input(event_: InputEvent) -> void:
if not state == State.ENTERED: return
if event_.is_action_pressed(&'dialogue_start'):
start()
Instantiators
|
Caution
|
No other scene instantiate this scene. |
Scene Tree
-
Chapter1 Control
-
CanvasLayer CanvasLayer
-
ClosingCurtain res://src/curtain/closing/closing.tscn
-
-
SnowLayer CanvasLayer
-
BackgroundColor ColorRect
-
Background Node2D
-
Node2D Node2D
-
BuildingParallax2D Parallax2D
-
Buildings Sprite2D
-
-
-
-
Frames Node2D
-
CameraFrame res://src/stages/frame/camera_frame.tscn
-
CameraFrame2 res://src/stages/frame/camera_frame.tscn
-
CameraFrame3 res://src/stages/frame/camera_frame.tscn
-
CameraFrame4 res://src/stages/frame/camera_frame.tscn
-
CameraFrame5 res://src/stages/frame/camera_frame.tscn
-
CameraFrame6 res://src/stages/frame/camera_frame.tscn
-
CameraFrame7 res://src/stages/frame/camera_frame.tscn
-
CameraFrame8 res://src/stages/frame/camera_frame.tscn
-
CameraFrame9_1 res://src/stages/frame/camera_frame.tscn
-
CameraFrame9_2 res://src/stages/frame/camera_frame.tscn
-
CameraFrame10 res://src/stages/frame/camera_frame.tscn
-
CameraFrame11 res://src/stages/frame/camera_frame.tscn
-
CameraFrame12 res://src/stages/frame/camera_frame.tscn
-
CameraFrame13_1 res://src/stages/frame/camera_frame.tscn
-
CameraFrame13_2 res://src/stages/frame/camera_frame.tscn
-
CameraFrame14 res://src/stages/frame/camera_frame.tscn
-
CameraFrame15_1 res://src/stages/frame/camera_frame.tscn
-
CameraFrame15_2 res://src/stages/frame/camera_frame.tscn
-
CameraFrame16 res://src/stages/frame/camera_frame.tscn
-
CameraFrame17 res://src/stages/frame/camera_frame.tscn
-
CameraFrame18 res://src/stages/frame/camera_frame.tscn
-
CameraFrame19 res://src/stages/frame/camera_frame.tscn
-
CameraFrame20 res://src/stages/frame/camera_frame.tscn
-
CameraFrame21 res://src/stages/frame/camera_frame.tscn
-
CameraFrame22_1 res://src/stages/frame/camera_frame.tscn
-
CameraFrame22_2 res://src/stages/frame/camera_frame.tscn
-
CameraFrame23_1 res://src/stages/frame/camera_frame.tscn
-
CameraFrame23_2 res://src/stages/frame/camera_frame.tscn
-
CameraFrame24_1 res://src/stages/frame/camera_frame.tscn
-
CameraFrame24_2 res://src/stages/frame/camera_frame.tscn
-
CameraFrame24_3 res://src/stages/frame/camera_frame.tscn
-
-
Voids Node2D
-
Stage1 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage2 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage3 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage4 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage5 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage7_8_9 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage10 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage11 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage14 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage15 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage16 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage17 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage18 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage19 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage20 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage24 Area2D
-
CollisionShape2D CollisionShape2D
-
-
-
Traps Node2D
-
Spikes Node2D
-
Stage1 Node2D
-
Stage2 Node2D
-
Stage3 Node2D
-
Stage4 Node2D
-
Stage6 Node2D
-
Stage7_8 Node2D
-
Stage9 Node2D
-
Stage10 Node2D
-
Stage11 Node2D
-
Stage13 Node2D
-
Stage14 Node2D
-
Stage15 Node2D
-
Stage16 Node2D
-
Stage17 Node2D
-
Stage18 Node2D
-
Stage19 Node2D
-
Stage20 Node2D
-
Stage21 Node2D
-
Stage22 Node2D
-
Stage23 Node2D
-
-
-
Gimmicks Node2D
-
Stage2 Node2D
-
Stage3 Node2D
-
Stage4 Node2D
-
Stage5 Node2D
-
OneWayScaffold res://src/stages/gimmicks/one_way_scaffold/one_way_scaffold.tscn
-
Platforms Node2D
-
CrumblingPlatform1 res://src/stages/gimmicks/crumbling_platform/crumbling_platform.tscn
-
CrumblingPlatform2 res://src/stages/gimmicks/crumbling_platform/crumbling_platform.tscn
-
CrumblingPlatform3 res://src/stages/gimmicks/crumbling_platform/crumbling_platform.tscn
-
CrumblingPlatform4 res://src/stages/gimmicks/crumbling_platform/crumbling_platform.tscn
-
-
-
Stage6 Node2D
-
Stage7_8 Node2D
-
Stage9 Node2D
-
Stage10 Node2D
-
Stage11 Node2D
-
Stage12 Node2D
-
CrumblingPlatform res://src/stages/gimmicks/crumbling_platform/crumbling_platform.tscn
-
-
Stage13 Node2D
-
Stage14 Node2D
-
Stage15 Node2D
-
Stage16 Node2D
-
Stage17 Node2D
-
OneWayScaffold res://src/stages/gimmicks/one_way_scaffold/one_way_scaffold.tscn
-
FallingIceBlock res://src/stages/1/gimmicks/falling_ice_block/falling_ice_block.tscn
-
CrumblingPlatform res://src/stages/gimmicks/crumbling_platform/crumbling_platform.tscn
-
-
Stage18 Node2D
-
Stage19 Node2D
-
Stage20 Node2D
-
OneWayFloor res://src/stages/gimmicks/one_way_floor/one_way_floor.tscn
-
OneWayFloor2 res://src/stages/gimmicks/one_way_floor/one_way_floor.tscn
-
OneWayFloor3 res://src/stages/gimmicks/one_way_floor/one_way_floor.tscn
-
OneWayFloor4 res://src/stages/gimmicks/one_way_floor/one_way_floor.tscn
-
LargePulley res://src/stages/gimmicks/pulley/large_vertical/large_vertical_pulley.tscn
-
-
Stage21 Node2D
-
Stage22 Node2D
-
OneWayScaffold res://src/stages/gimmicks/one_way_scaffold/one_way_scaffold.tscn
-
Springboard res://src/stages/gimmicks/springboard/springboard.tscn
-
LargePulley res://src/stages/gimmicks/pulley/large_vertical/large_vertical_pulley.tscn
-
CrumblingPlatform res://src/stages/gimmicks/crumbling_platform/crumbling_platform.tscn
-
-
Stage23 Node2D
-
Stage24 Node2D
-
Springboard res://src/stages/gimmicks/springboard/springboard.tscn
-
LargePulley res://src/stages/gimmicks/pulley/large_vertical/large_vertical_pulley.tscn
-
LargePulley2 res://src/stages/gimmicks/pulley/large_vertical/large_vertical_pulley.tscn
-
OneWayFloor res://src/stages/gimmicks/one_way_floor/one_way_floor.tscn
-
OneWayFloor2 res://src/stages/gimmicks/one_way_floor/one_way_floor.tscn
-
OneWayFloor3 res://src/stages/gimmicks/one_way_floor/one_way_floor.tscn
-
-
Stage25 Node2D
-
-
StageGround0 res://src/stages/0/stage_ground_0.tscn
-
Strawberries Node2D
-
Strawberry1 res://src/stages/gimmicks/strawberry/strawberry.tscn
-
CollisionShape2D CollisionShape2D
-
-
Strawberry2 res://src/stages/gimmicks/strawberry/strawberry.tscn
-
CollisionShape2D CollisionShape2D
-
-
FlyingStrawberry3 res://src/stages/gimmicks/flying_strawberry/flying_strawberry.tscn
-
CollisionShape2D CollisionShape2D
-
CollisionShape2D2 CollisionShape2D
-
-
Strawberry4 res://src/stages/gimmicks/strawberry/strawberry.tscn
-
CollisionShape2D CollisionShape2D
-
-
Strawberry5 res://src/stages/gimmicks/strawberry/strawberry.tscn
-
CollisionShape2D CollisionShape2D
-
CollisionShape2D2 CollisionShape2D
-
-
Strawberry6 res://src/stages/gimmicks/strawberry/strawberry.tscn
-
CollisionShape2D CollisionShape2D
-
-
Strawberry7 res://src/stages/gimmicks/strawberry/strawberry.tscn
-
CollisionShape2D CollisionShape2D
-
-
Strawberry8 res://src/stages/gimmicks/strawberry/strawberry.tscn
-
CollisionShape2D CollisionShape2D
-
-
Strawberry9 res://src/stages/gimmicks/strawberry/strawberry.tscn
-
CollisionShape2D CollisionShape2D
-
-
-
Scenary Node2D
-
CheckPoints Node2D
-
Stage2 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage3 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage4 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage5 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage6 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage7_8_9 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage10 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage11 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage12 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage13 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage14 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage15 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage16 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage17 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage18 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage19 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage20 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage21 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage22 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage23 Area2D
-
CollisionShape2D CollisionShape2D
-
-
Stage24 Area2D
-
CollisionShape2D CollisionShape2D
-
-
-
AirWall Node2D
-
StaticBody2D StaticBody2D
-
CollisionShape2D CollisionShape2D
-
-
-
Player res://src/player/player.tscn
-
AnimationPlayer AnimationPlayer
-
Signal Connections
func _on_goal_event(event_name: String) -> void:
var key := "goal.%s" % event_name
if %AnimationPlayer.has_animation(key):
%AnimationPlayer.play(key)
func _on_goal_finished() -> void:
%ClosingCurtain.play()
Animations
Animation_n1mrr
goal.01.fire_and_settle
goal.started
Properties
| Name | Value |
|---|---|
layout_mode |
|
anchors_preset |
|
anchor_right |
|
anchor_bottom |
|
grow_horizontal |
|
grow_vertical |
|
script |
| Name | Value |
|---|---|
unique_name_in_owner |
|
pattern |
|
next_scene |
|
center |
|
callbacks |
|
| Name | Value |
|---|---|
layer |
|
| Name | Value |
|---|---|
position |
|
amount |
|
lifetime |
|
preprocess |
|
direction |
|
spread |
|
gravity |
|
scale_amount_min |
|
scale_amount_max |
|
| Name | Value |
|---|---|
layout_mode |
|
anchors_preset |
|
anchor_right |
|
anchor_bottom |
|
offset_left |
|
offset_top |
|
offset_right |
|
offset_bottom |
|
grow_horizontal |
|
grow_vertical |
|
color |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
scroll_scale |
|
scroll_offset |
|
repeat_size |
|
repeat_times |
|
| Name | Value |
|---|---|
position |
|
scale |
|
texture |
| Name | Value |
|---|---|
modulate |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
collision_mask |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
scale |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
scale |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
scale |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
scale |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
scale |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
scale |
|
| Name | Value |
|---|---|
position |
|
scale |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
scale |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
scale |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
scale |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
scale |
|
| Name | Value |
|---|---|
position |
|
scale |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
rotation |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
unique_name_in_owner |
|
position |
|
angle |
|
distance |
|
| Name | Value |
|---|---|
unique_name_in_owner |
|
position |
|
angle |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
angle |
|
move_time |
|
distance |
|
force |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
move_time |
|
| Name | Value |
|---|---|
position |
|
angle |
|
force |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
angle |
|
| Name | Value |
|---|---|
position |
|
angle |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
move_time |
|
distance |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
distance |
|
force |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
angle |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
angle |
|
move_time |
|
distance |
|
force |
|
| Name | Value |
|---|---|
position |
|
angle |
|
move_time |
|
distance |
|
force |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
tile_map_data |
|
| Name | Value |
|---|---|
unique_name_in_owner |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
player_path |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
collision_layer |
|
| Name | Value |
|---|---|
position |
|
shape |
|
debug_color |
|
| Name | Value |
|---|---|
position |
|
shape |
|
| Name | Value |
|---|---|
unique_name_in_owner |
|
position |
|
| Name | Value |
|---|---|
unique_name_in_owner |
|
libraries/ |
|
chapter_1.gd
extends Control
func _on_goal_event(event_name: String) -> void:
var key := "goal.%s" % event_name
if %AnimationPlayer.has_animation(key):
%AnimationPlayer.play(key)
func _on_goal_finished() -> void:
%ClosingCurtain.play()
