Compare commits

..

No commits in common. "327e02d00b53bd8395f0649ea0d2f0257dd3d017" and "59f2823b2110dbed864644c442df6814fc105a7d" have entirely different histories.

8 changed files with 101 additions and 191 deletions

View File

@ -13,6 +13,11 @@ const BASE_ACCELERATION = 0
const MAX_ACCELERATION = 1
const MIN_ACCELERATION = 2 # or -1
## Vector based ones for x and y
#export var base_move_speed :Vector2
#export var base_move_acceleration :Vector2
#export var move_speed_modifier :Vector2
#export var move_speed_modifier_acceleration :Vector2
export var jerk_factor :Vector2
var gravity: int = ProjectSettings.get_setting("physics/2d/default_gravity")
@ -21,6 +26,16 @@ var gravity: int = ProjectSettings.get_setting("physics/2d/default_gravity")
## Can be set to help with debugging the velocity controller
export var debug_name :String
# export var base_h_move_speed :float
# export var base_h_move_acceleration :float
# export var h_move_speed_modifier :float
# export var h_move_modifier_move_acceleration :float
# export var base_v_move_speed :float
# export var base_v_move_acceleration :float
# export var v_move_speed_modifier :float
# export var v_move_modifier_move_acceleration :float
func get_speed_start(direction :int) -> Vector2:
return _speed_start[direction]
@ -66,14 +81,33 @@ func apply_multiple_modifiers( _modifiers: Array, _movement_direction :Vector2):
apply_state_modifier(m, _movement_direction)
func apply_state_modifier(_modifier :StateModifierMovement, _movement_direction :Vector2):
##TODO: probably math the min and max as well somehow
#_modifier.direction == _modifier.APPLIED_DIRECTIONS.LEFT_OR_UP
## Accel processing is the same regardless of direction now
set_acceleration( ( _acceleration + _modifier.acceleration),
_modifier.min_acceleration,
_modifier.max_acceleration )
# var adjusted_accel = acceleration[BASE_ACCELERATION] + _modifier.acceleration
# if adjusted_accel.x < _modifier.min_acceleration.x:
# adjusted_accel.x = _modifier.min_acceleration.x
# if adjusted_accel.y < _modifier.min_acceleration.y:
# adjusted_accel.y = _modifier.min_acceleration.y
#
# if adjusted_accel.max_acceleration.x != 0:
# if adjusted_accel.x > _modifier.max_acceleration.x:
# adjusted_accel.x = _modifier.max_acceleration.x
# if adjusted_accel.max_acceleration.y != 0:
# if adjusted_accel.y > _modifier.max_acceleration.y:
# adjusted_accel.y = _modifier.max_acceleration.y
match _modifier.processing_mode:
match _modifier.modifier_type:
StateModifierMovement.SUB_TYPE.NEGATIVE_CONSTRAINT:
# var adjusted_move_speed = base_move_speed.x + _modifier.horizontal_speed
# ## We crossed the zero from the base
# if sign(adjusted_move_speed) != sign(base_move_speed.x):
# base_move_speed.x = 0.0
# else:
# base_move_speed.x = adjusted_move_speed
var speed :Vector2 = get_speed_start(_modifier.direction)
var adjusted_move_speed = get_speed_start(_modifier.direction) + _modifier.speed_start
@ -100,11 +134,50 @@ func apply_state_modifier(_modifier :StateModifierMovement, _movement_direction
set_speed_end(_modifier.direction, speed)
# var adjusted_accel = base_move_acceleration.x + _modifier.horizontal_acceleration
# if sign(adjusted_accel) != sign(base_move_acceleration.x):
# base_move_acceleration.x = 0.0
# else:
# base_move_acceleration.x = adjusted_accel
#var accel :Vector2 = get_acceleration(_modifier.direction)
#var adjusted_accel = get_acceleration(_modifier.direction) + _modifier.acceleration
# if sign(adjusted_accel.x) != sign(accel.x):
# accel.x = 0.0
# else:
# accel.x = adjusted_accel.x
# if sign(adjusted_accel.y) != sign(accel.y):
# accel.y = 0.0
# else:
# accel.y = adjusted_accel.y
# set_acceleration(_modifier.direction, accel)
if (true): #DEGUG
var foo = 2+2
##TODO: Um, modifiers are a little weirder for this
#move_speed_modifier.x += _modifier.horizontal_speed_offset
# var speed_differance = base_move_speed.x + (move_speed_modifier.x + _modifier.horizontal_speed_offset)
# if sign(speed_differance) != sign(base_move_speed.x) and base_move_speed.x != 0:
# ## Add the inverse of the modifier instead
# move_speed_modifier.x += speed_differance * - 1
# else:
# move_speed_modifier.x += _modifier.horizontal_speed_offset
#
# move_speed_modifier_acceleration.x += _modifier.horizontal_speed_offset_acceleration
# move_speed_modifier.y += _modifier.vertical_speed_offset
# move_speed_modifier_acceleration.y += _modifier.vertical_speed_offset_acceleration
_:
# base_move_speed.x += _modifier.horizontal_speed
# base_move_acceleration.x += _modifier.horizontal_acceleration
# move_speed_modifier.x += _modifier.horizontal_speed_offset
# move_speed_modifier_acceleration.x += _modifier.horizontal_speed_offset_acceleration
#
# base_move_speed.y += _modifier.vertical_speed
# base_move_acceleration.y += _modifier.vertical_acceleration
# move_speed_modifier.y += _modifier.vertical_speed_offset
# move_speed_modifier_acceleration.y += _modifier.vertical_speed_offset_acceleration
set_speed_start(
_modifier.direction,
@ -114,6 +187,10 @@ func apply_state_modifier(_modifier :StateModifierMovement, _movement_direction
_modifier.direction,
(get_speed_end(_modifier.direction) + _modifier.speed_end)
)
# set_acceleration(
# _modifier.direction,
# (get_acceleration(_modifier.direction) + _modifier.acceleration)
# )
if (true): #DEGUG
var foo = 2+2
@ -125,3 +202,13 @@ func apply_state_modifier(_modifier :StateModifierMovement, _movement_direction
# "\nType: " + str(_modifier.modifier_type)
# )
# var movement_params :Dictionary = {
# "_base_h_move_speed" : _state.horizontal_speed,
# "_base_h_move_acceleration" : _state.horizontal_acceleration,
# "_base_h_move_speed_modifier" : _state.horizontal_speed_offset,
# "_base_h_move_modifier_move_acceleration" : _state.horizontal_speed_offset_acceleration,
# "_jerk_factor" : _state.jerk_factor,
# "_gravity" : _state.gravity
# }

View File

@ -10,11 +10,11 @@ modifier_type = 0
name = "ice_or_something"
timeout_seconds = 0.0
direction = 0
speed_start = Vector2( -100, 1.36422e-12 )
speed_start = Vector2( 0, 0 )
speed_end = Vector2( 0, 0 )
min_acceleration = Vector2( 5, 1.36422e-12 )
acceleration = Vector2( -250, 1.36422e-12 )
max_acceleration = Vector2( 0, 0 )
gravity = 0
only_grounded = true
processing_mode = 1
processing_mode = 0

View File

@ -12,9 +12,7 @@ timeout_seconds = 0.0
direction = -1
speed_start = Vector2( 30, 1.36422e-12 )
speed_end = Vector2( 30, 1.36422e-12 )
min_acceleration = Vector2( 0, 0 )
acceleration = Vector2( 0, 0 )
max_acceleration = Vector2( 0, 0 )
gravity = 0
only_grounded = true
processing_mode = 0

View File

@ -9,12 +9,10 @@ script = ExtResource( 1 )
modifier_type = 0
name = "wind_left"
timeout_seconds = 0.0
direction = 1
direction = -1
speed_start = Vector2( 30, 1.36422e-12 )
speed_end = Vector2( 30, 1.36422e-12 )
min_acceleration = Vector2( 0, 0 )
acceleration = Vector2( 0, 0 )
max_acceleration = Vector2( 0, 0 )
gravity = 0
only_grounded = false
processing_mode = 0

View File

@ -72,7 +72,6 @@ func _ready():
tired_debuff_modifier.setup('so_tired', StateModifierMovement.SUB_TYPE.NEGATIVE_CONSTRAINT)
tired_debuff_modifier.speed_start = Vector2(-40,0)
tired_debuff_modifier.processing_mode = StateModifierMovement.SUB_TYPE.NEGATIVE_CONSTRAINT
#tired_debuff_modifier.horizontal_speed = -40
tired_debuff_modifier.only_grounded = true
movement_state_machine.push_state_modifier(tired_debuff_modifier)

View File

@ -33,13 +33,10 @@ position = Vector2( 50, 131 )
[node name="EnterLeft" type="Position2D" parent="." index="4"]
position = Vector2( -12, 61 )
[node name="EnterRight" type="Position2D" parent="." index="5"]
position = Vector2( 332, 61 )
[node name="LevelTransition" parent="." index="6" instance=ExtResource( 4 )]
[node name="LevelTransition" parent="." index="5" instance=ExtResource( 4 )]
position = Vector2( -11, 64 )
_transition_type = "door_left"
_destination_level = "res://src/levels/CloneBox.tscn"
_destination_level = "res://src/levels/TestBox.tscn"
_destination_position_name = "EnterRight"
[node name="CollisionShape2D" type="CollisionShape2D" parent="LevelTransition" index="0"]
@ -49,10 +46,10 @@ __meta__ = {
"_edit_lock_": true
}
[node name="LevelTransition2" parent="." index="7" instance=ExtResource( 4 )]
[node name="LevelTransition2" parent="." index="6" instance=ExtResource( 4 )]
position = Vector2( 333, 64 )
_destination_level = "res://src/levels/TC_02.tscn"
_destination_position_name = "EnterLeft"
_destination_level = "res://src/levels/TestBox.tscn"
_destination_position_name = "EnterRight"
[node name="CollisionShape2D" type="CollisionShape2D" parent="LevelTransition2" index="0"]
modulate = Color( 1, 0, 1, 1 )
@ -61,10 +58,10 @@ __meta__ = {
"_edit_lock_": true
}
[node name="Camera Bounds" parent="." index="8"]
[node name="Camera Bounds" parent="." index="7"]
tile_data = PoolIntArray( -65536, 0, 0, -65521, 0, 0, 65535, 0, 0, 16, 0, 0, 524287, 0, 0, 458768, 0, 0, 589824, 0, 0, 589839, 0, 0 )
[node name="Modifier_Component" parent="." index="9" instance=ExtResource( 6 )]
[node name="Modifier_Component" parent="." index="8" instance=ExtResource( 6 )]
position = Vector2( 162, 141 )
modifier = ExtResource( 5 )
@ -72,7 +69,7 @@ modifier = ExtResource( 5 )
modulate = Color( 0, 0, 1, 1 )
shape = SubResource( 3 )
[node name="Label" type="Label" parent="." index="10"]
[node name="Label" type="Label" parent="." index="9"]
margin_left = 78.0
margin_top = 9.0
margin_right = 244.0

View File

@ -1,84 +0,0 @@
[gd_scene load_steps=9 format=2]
[ext_resource path="res://src/templates/level_templates/LevelTemplate.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/levels/LegacyFantasy-High_Forest/tileset.tres" type="TileSet" id=2]
[ext_resource path="res://src/Interactables/modifiers/left_conveyor.tres" type="Resource" id=3]
[ext_resource path="res://src/Interactables/LevelTransition.tscn" type="PackedScene" id=4]
[ext_resource path="res://lib/components/Modifier_Component.tscn" type="PackedScene" id=6]
[ext_resource path="res://assets/Fonts/default_font.tres" type="Theme" id=7]
[sub_resource type="RectangleShape2D" id=2]
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 149, 3 )
[node name="TC_02" groups=["world"] instance=ExtResource( 1 )]
[node name="TileMap Background" parent="." index="0"]
z_index = -2
[node name="TileMap Collision" parent="." index="1"]
tile_set = ExtResource( 2 )
tile_data = PoolIntArray( -262145, 4, 0, -327661, 4, 0, -196609, 4, 0, -262125, 4, 0, -131073, 4, 0, -196589, 4, 0, -65537, 4, 0, -131053, 4, 65536, -1, 4, 0, -65517, 4, 65536, 65535, 4, 0, 19, 4, 65536, 131069, 4, 0, 131070, 4, 0, 131071, 4, 0, 65555, 4, 0, 65556, 4, 65536, 65557, 4, 65536, 65558, 4, 65536, 196605, 4, 0, 131094, 4, 65536, 262141, 4, 0, 196630, 4, 65536, 327677, 4, 0, 262145, 2, 1, 262146, 2, 2, 262161, 2, 0, 262162, 2, 1, 262166, 4, 65536, 393213, 4, 0, 393214, 4, 0, 393215, 4, 0, 327680, 4, 65536, 327681, 2, 65537, 327682, 2, 65538, 327697, 2, 65536, 327698, 2, 65537, 327699, 4, 65536, 327700, 4, 65536, 327701, 4, 65536, 327702, 4, 65536, 393216, 4, 0, 393235, 4, 0, 458752, 4, 65536, 458771, 4, 65536, 589823, 0, 1, 524288, 4, 131072, 524289, 0, 3, 524290, 0, 1, 524291, 0, 2, 524292, 0, 3, 524293, 0, 1, 524294, 0, 2, 524295, 0, 3, 524296, 0, 1, 524297, 0, 2, 524298, 0, 3, 524299, 0, 1, 524300, 0, 2, 524301, 0, 3, 524302, 0, 1, 524303, 0, 2, 524304, 0, 3, 524305, 0, 1, 524306, 0, 2, 524307, 4, 0, 524308, 0, 1, 524309, 0, 2, 524310, 0, 3, 655359, 0, 65537, 589824, 0, 65538, 589825, 0, 65539, 589826, 0, 65537, 589827, 0, 65538, 589828, 0, 65539, 589829, 0, 65537, 589830, 0, 65538, 589831, 0, 65539, 589832, 0, 65537, 589833, 0, 65538, 589834, 0, 65539, 589835, 0, 65537, 589836, 0, 65538, 589837, 0, 65539, 589838, 0, 65537, 589839, 0, 65538, 589840, 0, 65539, 589841, 0, 65537, 589842, 0, 65538, 589843, 0, 65539, 589844, 0, 65537, 589845, 0, 65538, 589846, 0, 65539, 720895, 0, 131073, 655360, 0, 131074, 655361, 0, 131075, 655362, 0, 131073, 655363, 0, 131074, 655364, 0, 131075, 655365, 0, 131073, 655366, 0, 131074, 655367, 0, 131075, 655368, 0, 131073, 655369, 0, 131074, 655370, 0, 131075, 655371, 0, 131073, 655372, 0, 131074, 655373, 0, 131075, 655374, 0, 131073, 655375, 0, 131074, 655376, 0, 131075, 655377, 0, 131073, 655378, 0, 131074, 655379, 0, 131075, 655380, 0, 131073, 655381, 0, 131074, 655382, 0, 131075, 786431, 0, 196609, 720896, 0, 196610, 720897, 0, 196611, 720898, 0, 196609, 720899, 0, 196610, 720900, 0, 196611, 720901, 0, 196609, 720902, 0, 196610, 720903, 0, 196611, 720904, 0, 196609, 720905, 0, 196610, 720906, 0, 196611, 720907, 0, 196609, 720908, 0, 196610, 720909, 0, 196611, 720910, 0, 196609, 720911, 0, 196610, 720912, 0, 196611, 720913, 0, 196609, 720914, 0, 196610, 720915, 0, 196611, 720916, 0, 196609, 720917, 0, 196610, 720918, 0, 196611, 851967, 0, 262145, 786432, 0, 262146, 786433, 0, 262147, 786434, 0, 262145, 786435, 0, 262146, 786436, 0, 262147, 786437, 0, 262145, 786438, 0, 262146, 786439, 0, 262147, 786440, 0, 262145, 786441, 0, 262146, 786442, 0, 262147, 786443, 0, 262145, 786444, 0, 262146, 786445, 0, 262147, 786446, 0, 262145, 786447, 0, 262146, 786448, 0, 262147, 786449, 0, 262145, 786450, 0, 262146, 786451, 0, 262147, 786452, 0, 262145, 786453, 0, 262146, 786454, 0, 262147 )
[node name="TileMap Foreground" parent="." index="2"]
tile_set = ExtResource( 2 )
collision_layer = 0
collision_mask = 0
tile_data = PoolIntArray( 524288, 0, 2, 524307, 0, 3 )
[node name="PlayerStart" parent="." index="3"]
position = Vector2( 50, 131 )
[node name="EnterLeft" type="Position2D" parent="." index="4"]
position = Vector2( -12, 61 )
[node name="EnterRight" type="Position2D" parent="." index="5"]
position = Vector2( 332, 61 )
[node name="LevelTransition" parent="." index="6" instance=ExtResource( 4 )]
position = Vector2( -11, 64 )
_transition_type = "door_left"
_destination_level = "res://src/levels/TC_01.tscn"
_destination_position_name = "EnterRight"
[node name="CollisionShape2D" type="CollisionShape2D" parent="LevelTransition" index="0"]
modulate = Color( 1, 0, 1, 1 )
shape = SubResource( 2 )
__meta__ = {
"_edit_lock_": true
}
[node name="LevelTransition2" parent="." index="7" instance=ExtResource( 4 )]
position = Vector2( 333, 64 )
_destination_level = "res://src/levels/TC_03.tscn"
_destination_position_name = "EnterLeft"
[node name="CollisionShape2D" type="CollisionShape2D" parent="LevelTransition2" index="0"]
modulate = Color( 1, 0, 1, 1 )
shape = SubResource( 2 )
__meta__ = {
"_edit_lock_": true
}
[node name="Camera Bounds" parent="." index="8"]
tile_data = PoolIntArray( -65536, 0, 0, -65521, 0, 0, 65535, 0, 0, 16, 0, 0, 524287, 0, 0, 458768, 0, 0, 589824, 0, 0, 589839, 0, 0 )
[node name="Modifier_Component" parent="." index="9" instance=ExtResource( 6 )]
position = Vector2( 162, 141 )
modifier = ExtResource( 3 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Modifier_Component" index="0"]
modulate = Color( 0, 0, 1, 1 )
shape = SubResource( 3 )
[node name="Label" type="Label" parent="." index="10"]
margin_left = 78.0
margin_top = 9.0
margin_right = 244.0
margin_bottom = 41.0
theme = ExtResource( 7 )
text = "Test chamber 02:
The floor moves You"
align = 1
valign = 1

View File

@ -1,85 +0,0 @@
[gd_scene load_steps=9 format=2]
[ext_resource path="res://src/templates/level_templates/LevelTemplate.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/levels/LegacyFantasy-High_Forest/tileset.tres" type="TileSet" id=2]
[ext_resource path="res://src/Interactables/modifiers/left_wind.tres" type="Resource" id=3]
[ext_resource path="res://src/Interactables/LevelTransition.tscn" type="PackedScene" id=4]
[ext_resource path="res://lib/components/Modifier_Component.tscn" type="PackedScene" id=6]
[ext_resource path="res://assets/Fonts/default_font.tres" type="Theme" id=7]
[sub_resource type="RectangleShape2D" id=2]
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 162, 71.5 )
[node name="TC_03" groups=["world"] instance=ExtResource( 1 )]
[node name="TileMap Background" parent="." index="0"]
z_index = -2
[node name="TileMap Collision" parent="." index="1"]
tile_set = ExtResource( 2 )
tile_data = PoolIntArray( -262145, 4, 0, -327661, 4, 0, -196609, 4, 0, -262125, 4, 0, -131073, 4, 0, -196589, 4, 0, -65537, 4, 0, -131053, 4, 65536, -1, 4, 0, -65517, 4, 65536, 65535, 4, 0, 19, 4, 65536, 131069, 4, 0, 131070, 4, 0, 131071, 4, 0, 65555, 4, 0, 65556, 4, 65536, 65557, 4, 65536, 65558, 4, 65536, 196605, 4, 0, 131094, 4, 65536, 262141, 4, 0, 196630, 4, 65536, 327677, 4, 0, 262145, 2, 1, 262146, 2, 2, 262161, 2, 0, 262162, 2, 1, 262166, 4, 65536, 393213, 4, 0, 393214, 4, 0, 393215, 4, 0, 327680, 4, 65536, 327681, 2, 65537, 327682, 2, 65538, 327697, 2, 65536, 327698, 2, 65537, 327699, 4, 65536, 327700, 4, 65536, 327701, 4, 65536, 327702, 4, 65536, 393216, 4, 0, 393235, 4, 0, 458752, 4, 65536, 458771, 4, 65536, 589823, 0, 1, 524288, 4, 131072, 524289, 0, 3, 524290, 0, 1, 524291, 0, 2, 524292, 0, 3, 524293, 0, 1, 524294, 0, 2, 524295, 0, 3, 524296, 0, 1, 524297, 0, 2, 524298, 0, 3, 524299, 0, 1, 524300, 0, 2, 524301, 0, 3, 524302, 0, 1, 524303, 0, 2, 524304, 0, 3, 524305, 0, 1, 524306, 0, 2, 524307, 4, 0, 524308, 0, 1, 524309, 0, 2, 524310, 0, 3, 655359, 0, 65537, 589824, 0, 65538, 589825, 0, 65539, 589826, 0, 65537, 589827, 0, 65538, 589828, 0, 65539, 589829, 0, 65537, 589830, 0, 65538, 589831, 0, 65539, 589832, 0, 65537, 589833, 0, 65538, 589834, 0, 65539, 589835, 0, 65537, 589836, 0, 65538, 589837, 0, 65539, 589838, 0, 65537, 589839, 0, 65538, 589840, 0, 65539, 589841, 0, 65537, 589842, 0, 65538, 589843, 0, 65539, 589844, 0, 65537, 589845, 0, 65538, 589846, 0, 65539, 720895, 0, 131073, 655360, 0, 131074, 655361, 0, 131075, 655362, 0, 131073, 655363, 0, 131074, 655364, 0, 131075, 655365, 0, 131073, 655366, 0, 131074, 655367, 0, 131075, 655368, 0, 131073, 655369, 0, 131074, 655370, 0, 131075, 655371, 0, 131073, 655372, 0, 131074, 655373, 0, 131075, 655374, 0, 131073, 655375, 0, 131074, 655376, 0, 131075, 655377, 0, 131073, 655378, 0, 131074, 655379, 0, 131075, 655380, 0, 131073, 655381, 0, 131074, 655382, 0, 131075, 786431, 0, 196609, 720896, 0, 196610, 720897, 0, 196611, 720898, 0, 196609, 720899, 0, 196610, 720900, 0, 196611, 720901, 0, 196609, 720902, 0, 196610, 720903, 0, 196611, 720904, 0, 196609, 720905, 0, 196610, 720906, 0, 196611, 720907, 0, 196609, 720908, 0, 196610, 720909, 0, 196611, 720910, 0, 196609, 720911, 0, 196610, 720912, 0, 196611, 720913, 0, 196609, 720914, 0, 196610, 720915, 0, 196611, 720916, 0, 196609, 720917, 0, 196610, 720918, 0, 196611, 851967, 0, 262145, 786432, 0, 262146, 786433, 0, 262147, 786434, 0, 262145, 786435, 0, 262146, 786436, 0, 262147, 786437, 0, 262145, 786438, 0, 262146, 786439, 0, 262147, 786440, 0, 262145, 786441, 0, 262146, 786442, 0, 262147, 786443, 0, 262145, 786444, 0, 262146, 786445, 0, 262147, 786446, 0, 262145, 786447, 0, 262146, 786448, 0, 262147, 786449, 0, 262145, 786450, 0, 262146, 786451, 0, 262147, 786452, 0, 262145, 786453, 0, 262146, 786454, 0, 262147 )
[node name="TileMap Foreground" parent="." index="2"]
tile_set = ExtResource( 2 )
collision_layer = 0
collision_mask = 0
tile_data = PoolIntArray( 524288, 0, 2, 524307, 0, 3 )
[node name="PlayerStart" parent="." index="3"]
position = Vector2( 50, 131 )
[node name="EnterLeft" type="Position2D" parent="." index="4"]
position = Vector2( -12, 61 )
[node name="EnterRight" type="Position2D" parent="." index="5"]
position = Vector2( 332, 61 )
[node name="LevelTransition" parent="." index="6" instance=ExtResource( 4 )]
position = Vector2( -11, 64 )
_transition_type = "door_left"
_destination_level = "res://src/levels/TC_02.tscn"
_destination_position_name = "EnterRight"
[node name="CollisionShape2D" type="CollisionShape2D" parent="LevelTransition" index="0"]
modulate = Color( 1, 0, 1, 1 )
shape = SubResource( 2 )
__meta__ = {
"_edit_lock_": true
}
[node name="LevelTransition2" parent="." index="7" instance=ExtResource( 4 )]
position = Vector2( 333, 64 )
_destination_level = "res://src/levels/CloneBox.tscn"
_destination_position_name = "EnterLeft"
[node name="CollisionShape2D" type="CollisionShape2D" parent="LevelTransition2" index="0"]
modulate = Color( 1, 0, 1, 1 )
shape = SubResource( 2 )
__meta__ = {
"_edit_lock_": true
}
[node name="Camera Bounds" parent="." index="8"]
tile_data = PoolIntArray( -65536, 0, 0, -65521, 0, 0, 65535, 0, 0, 16, 0, 0, 524287, 0, 0, 458768, 0, 0, 589824, 0, 0, 589839, 0, 0 )
[node name="Modifier_Component" parent="." index="9" instance=ExtResource( 6 )]
position = Vector2( 162, 141 )
modifier = ExtResource( 3 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Modifier_Component" index="0"]
modulate = Color( 0, 0, 1, 1 )
position = Vector2( -2, -68.5 )
shape = SubResource( 3 )
[node name="Label" type="Label" parent="." index="10"]
margin_left = 78.0
margin_top = 9.0
margin_right = 244.0
margin_bottom = 41.0
theme = ExtResource( 7 )
text = "Test chamber 03:
It's Windy"
align = 1
valign = 1