updating project files
Some checks failed
Create tag and build when new code gets to main / BumpTag (push) Successful in 31s
Create tag and build when new code gets to main / Test (push) Has been cancelled
Create tag and build when new code gets to main / Export (push) Has been cancelled

This commit is contained in:
2026-01-28 09:50:10 +01:00
parent 119850a7b4
commit af1f6da98d
656 changed files with 12395 additions and 5889 deletions

View File

@@ -18,6 +18,8 @@ dest_files=["res://.godot/imported/break.png-76e3da8567a2ce2ef66cf2a31e3edc5e.ct
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -25,6 +27,10 @@ mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false

View File

@@ -51,4 +51,3 @@ func _on_input_event(_viewport, event, _shape_idx):
# if the left mouse button is up emit the clicked signal
if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and event.is_pressed() == false:
clicked.emit(self)

View File

@@ -1,14 +1,14 @@
[gd_scene load_steps=19 format=3 uid="uid://h0af1dot82p3"]
[gd_scene format=3 uid="uid://h0af1dot82p3"]
[ext_resource type="Script" path="res://godot_state_charts_examples/platformer/breaking_box/breaking_box.gd" id="1_c2rh2"]
[ext_resource type="Script" uid="uid://b7gcoyovuxkvo" path="res://godot_state_charts_examples/platformer/breaking_box/breaking_box.gd" id="1_c2rh2"]
[ext_resource type="Texture2D" uid="uid://c5dogybcf6yfo" path="res://godot_state_charts_examples/platformer/breaking_box/idle.png" id="1_dixph"]
[ext_resource type="Script" path="res://addons/godot_state_charts/state_chart.gd" id="2_atynw"]
[ext_resource type="Script" uid="uid://couw105c3bde4" path="res://addons/godot_state_charts/state_chart.gd" id="2_atynw"]
[ext_resource type="Texture2D" uid="uid://dq0ww6xvgeap3" path="res://godot_state_charts_examples/platformer/breaking_box/hit.png" id="3_ngvxc"]
[ext_resource type="Texture2D" uid="uid://p8vbysdruo4o" path="res://godot_state_charts_examples/platformer/breaking_box/break.png" id="4_jb7vf"]
[ext_resource type="Script" path="res://addons/godot_state_charts/compound_state.gd" id="5_wouwd"]
[ext_resource type="Script" path="res://addons/godot_state_charts/atomic_state.gd" id="6_p4jwe"]
[ext_resource type="Script" path="res://addons/godot_state_charts/transition.gd" id="7_1ecad"]
[ext_resource type="Script" path="res://addons/godot_state_charts/expression_guard.gd" id="8_8riiw"]
[ext_resource type="Script" uid="uid://jk2jm1g6q853" path="res://addons/godot_state_charts/compound_state.gd" id="5_wouwd"]
[ext_resource type="Script" uid="uid://cytafq8i1y8qm" path="res://addons/godot_state_charts/atomic_state.gd" id="6_p4jwe"]
[ext_resource type="Script" uid="uid://cf1nsco3w0mf6" path="res://addons/godot_state_charts/transition.gd" id="7_1ecad"]
[ext_resource type="Script" uid="uid://le5w1cm0ul8p" path="res://addons/godot_state_charts/expression_guard.gd" id="8_8riiw"]
[sub_resource type="Animation" id="Animation_toibu"]
resource_name = "Break"
@@ -303,10 +303,10 @@ tracks/6/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_t7nrw"]
_data = {
"Break": SubResource("Animation_toibu"),
"Hit": SubResource("Animation_rc67x"),
"Idle": SubResource("Animation_yu346"),
"RESET": SubResource("Animation_a7q8m")
&"Break": SubResource("Animation_toibu"),
&"Hit": SubResource("Animation_rc67x"),
&"Idle": SubResource("Animation_yu346"),
&"RESET": SubResource("Animation_a7q8m")
}
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8vd2b"]
@@ -322,16 +322,16 @@ expression = "health > 0"
script = ExtResource("8_8riiw")
expression = "health <= 0"
[node name="BreakingBox" type="StaticBody2D"]
[node name="BreakingBox" type="StaticBody2D" unique_id=534758517]
input_pickable = true
script = ExtResource("1_c2rh2")
[node name="BoxSprite" type="Sprite2D" parent="."]
[node name="BoxSprite" type="Sprite2D" parent="." unique_id=1821804679]
texture_filter = 1
position = Vector2(0, -10)
texture = ExtResource("1_dixph")
[node name="Label" type="Label" parent="."]
[node name="Label" type="Label" parent="." unique_id=768290235]
unique_name_in_owner = true
anchors_preset = 8
anchor_left = 0.5
@@ -349,71 +349,69 @@ text = "3"
horizontal_alignment = 1
vertical_alignment = 1
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=2068351657]
unique_name_in_owner = true
editor_description = "The animation player will send an \"animation_finished\" event back to the state chart. This will then take the appropriate transitions (e.g. switch back to the idle animation)."
libraries = {
"": SubResource("AnimationLibrary_t7nrw")
}
libraries/ = SubResource("AnimationLibrary_t7nrw")
[node name="BoxCollider" type="CollisionShape2D" parent="."]
[node name="BoxCollider" type="CollisionShape2D" parent="." unique_id=1852854685]
position = Vector2(0, -10)
shape = SubResource("RectangleShape2D_8vd2b")
[node name="DetectionArea" type="Area2D" parent="."]
[node name="DetectionArea" type="Area2D" parent="." unique_id=292614492]
position = Vector2(0, -3)
collision_layer = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="DetectionArea"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="DetectionArea" unique_id=474512921]
unique_name_in_owner = true
position = Vector2(0, -19)
shape = SubResource("RectangleShape2D_jbwph")
[node name="StateChart" type="Node" parent="."]
[node name="StateChart" type="Node" parent="." unique_id=1844845311]
unique_name_in_owner = true
script = ExtResource("2_atynw")
track_in_editor = true
[node name="Root" type="Node" parent="StateChart"]
[node name="Root" type="Node" parent="StateChart" unique_id=1462549900]
script = ExtResource("5_wouwd")
initial_state = NodePath("Idle")
[node name="Idle" type="Node" parent="StateChart/Root"]
[node name="Idle" type="Node" parent="StateChart/Root" unique_id=110544324]
script = ExtResource("6_p4jwe")
[node name="On Damage" type="Node" parent="StateChart/Root/Idle"]
[node name="On Damage" type="Node" parent="StateChart/Root/Idle" unique_id=1701796491]
script = ExtResource("7_1ecad")
to = NodePath("../../Blinking")
event = &"health_changed"
guard = SubResource("Resource_v858x")
delay_in_seconds = "0.0"
[node name="On Break" type="Node" parent="StateChart/Root/Idle"]
[node name="On Break" type="Node" parent="StateChart/Root/Idle" unique_id=72355285]
script = ExtResource("7_1ecad")
to = NodePath("../../Dying")
event = &"health_changed"
guard = SubResource("Resource_j86i4")
delay_in_seconds = "0.0"
[node name="Blinking" type="Node" parent="StateChart/Root"]
[node name="Blinking" type="Node" parent="StateChart/Root" unique_id=1936694026]
script = ExtResource("6_p4jwe")
[node name="Animation Finished" type="Node" parent="StateChart/Root/Blinking"]
[node name="Animation Finished" type="Node" parent="StateChart/Root/Blinking" unique_id=678719973]
script = ExtResource("7_1ecad")
to = NodePath("../../Idle")
event = &"animation_finished"
delay_in_seconds = "0.0"
[node name="Dying" type="Node" parent="StateChart/Root"]
[node name="Dying" type="Node" parent="StateChart/Root" unique_id=1552619715]
script = ExtResource("6_p4jwe")
[node name="Animation Finished" type="Node" parent="StateChart/Root/Dying"]
[node name="Animation Finished" type="Node" parent="StateChart/Root/Dying" unique_id=818785946]
script = ExtResource("7_1ecad")
to = NodePath("../../Dead")
event = &"animation_finished"
delay_in_seconds = "0.0"
[node name="Dead" type="Node" parent="StateChart/Root"]
[node name="Dead" type="Node" parent="StateChart/Root" unique_id=1713508340]
script = ExtResource("6_p4jwe")
[connection signal="input_event" from="." to="." method="_on_input_event"]

View File

@@ -18,6 +18,8 @@ dest_files=["res://.godot/imported/hit.png-1c36fd330c418d67632dbaced016a36f.ctex
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -25,6 +27,10 @@ mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false

View File

@@ -18,6 +18,8 @@ dest_files=["res://.godot/imported/idle.png-ceff55276331d87b08aa0aee62d3e6af.cte
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -25,6 +27,10 @@ mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false

View File

@@ -1,15 +1,15 @@
[gd_scene load_steps=19 format=3 uid="uid://b22lg10c7wxrq"]
[gd_scene format=3 uid="uid://b22lg10c7wxrq"]
[ext_resource type="Texture2D" uid="uid://4nlen5j7etvq" path="res://godot_state_charts_examples/platformer/checkpoint/checkpoint_no_flag.png" id="1_7vf2w"]
[ext_resource type="Script" path="res://godot_state_charts_examples/platformer/checkpoint/checkpoint.gd" id="1_jot5v"]
[ext_resource type="Script" uid="uid://ccsukp7vuknqs" path="res://godot_state_charts_examples/platformer/checkpoint/checkpoint.gd" id="1_jot5v"]
[ext_resource type="Texture2D" uid="uid://dfju87f6rw0nm" path="res://godot_state_charts_examples/platformer/checkpoint/checkpoint_idle.png" id="2_ns71f"]
[ext_resource type="Texture2D" uid="uid://beoe1hh5aggor" path="res://godot_state_charts_examples/platformer/checkpoint/checkpoint_flag_out.png" id="3_fbg27"]
[ext_resource type="Script" path="res://addons/godot_state_charts/state_chart.gd" id="5_a58ma"]
[ext_resource type="Script" path="res://addons/godot_state_charts/parallel_state.gd" id="6_53g38"]
[ext_resource type="Script" path="res://addons/godot_state_charts/compound_state.gd" id="6_qkwqk"]
[ext_resource type="Script" path="res://addons/godot_state_charts/atomic_state.gd" id="7_a74k1"]
[ext_resource type="Script" path="res://addons/godot_state_charts/transition.gd" id="8_7tjvh"]
[ext_resource type="Script" path="res://addons/godot_state_charts/state_is_active_guard.gd" id="10_fk2fi"]
[ext_resource type="Script" uid="uid://couw105c3bde4" path="res://addons/godot_state_charts/state_chart.gd" id="5_a58ma"]
[ext_resource type="Script" uid="uid://c1vp0ojjvaby1" path="res://addons/godot_state_charts/parallel_state.gd" id="6_53g38"]
[ext_resource type="Script" uid="uid://jk2jm1g6q853" path="res://addons/godot_state_charts/compound_state.gd" id="6_qkwqk"]
[ext_resource type="Script" uid="uid://cytafq8i1y8qm" path="res://addons/godot_state_charts/atomic_state.gd" id="7_a74k1"]
[ext_resource type="Script" uid="uid://cf1nsco3w0mf6" path="res://addons/godot_state_charts/transition.gd" id="8_7tjvh"]
[ext_resource type="Script" uid="uid://bambbrd2wupx0" path="res://addons/godot_state_charts/state_is_active_guard.gd" id="10_fk2fi"]
[sub_resource type="Animation" id="Animation_xvggk"]
length = 0.001
@@ -210,11 +210,11 @@ tracks/2/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_5pqa5"]
_data = {
"RESET": SubResource("Animation_xvggk"),
"close_flag": SubResource("Animation_p66ga"),
"idle_no_flag": SubResource("Animation_w48c8"),
"idle_with_flag": SubResource("Animation_judeo"),
"open_flag": SubResource("Animation_gr2w7")
&"RESET": SubResource("Animation_xvggk"),
&"close_flag": SubResource("Animation_p66ga"),
&"idle_no_flag": SubResource("Animation_w48c8"),
&"idle_with_flag": SubResource("Animation_judeo"),
&"open_flag": SubResource("Animation_gr2w7")
}
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_06im6"]
@@ -226,111 +226,115 @@ script = ExtResource("10_fk2fi")
state = NodePath("../../../../Player Presence/Absent")
metadata/_editor_prop_ptr_state = NodePath("../../../Player Presence/Absent")
[node name="Checkpoint" type="Node2D"]
[node name="Checkpoint" type="Node2D" unique_id=1809495232]
script = ExtResource("1_jot5v")
[node name="Sprite2D" type="Sprite2D" parent="."]
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=388053107]
texture_filter = 1
texture = ExtResource("1_7vf2w")
offset = Vector2(0, -32)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_5pqa5")
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1095415080]
libraries/ = SubResource("AnimationLibrary_5pqa5")
[node name="Area2D" type="Area2D" parent="."]
[node name="Area2D" type="Area2D" parent="." unique_id=895369573]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1531705499]
position = Vector2(-2, -26)
shape = SubResource("CapsuleShape2D_06im6")
[node name="StateChart" type="Node" parent="."]
[node name="StateChart" type="Node" parent="." unique_id=820399857]
script = ExtResource("5_a58ma")
track_in_editor = true
[node name="Root" type="Node" parent="StateChart"]
[node name="Root" type="Node" parent="StateChart" unique_id=777667665]
script = ExtResource("6_53g38")
[node name="Player Presence" type="Node" parent="StateChart/Root"]
[node name="Player Presence" type="Node" parent="StateChart/Root" unique_id=1227806118]
editor_description = "This compound state represents whether the player is currently present at the checkpoint."
script = ExtResource("6_qkwqk")
initial_state = NodePath("Absent")
[node name="Absent" type="Node" parent="StateChart/Root/Player Presence"]
[node name="Absent" type="Node" parent="StateChart/Root/Player Presence" unique_id=962615558]
script = ExtResource("7_a74k1")
[node name="On Player Enter" type="Node" parent="StateChart/Root/Player Presence/Absent"]
[node name="On Player Enter" type="Node" parent="StateChart/Root/Player Presence/Absent" unique_id=454764549]
script = ExtResource("8_7tjvh")
to = NodePath("../../Present")
event = &"player_entered"
delay_in_seconds = "0.0"
[node name="Present" type="Node" parent="StateChart/Root/Player Presence"]
[node name="Present" type="Node" parent="StateChart/Root/Player Presence" unique_id=1069960291]
script = ExtResource("7_a74k1")
[node name="On Player Exit" type="Node" parent="StateChart/Root/Player Presence/Present"]
[node name="On Player Exit" type="Node" parent="StateChart/Root/Player Presence/Present" unique_id=1855748295]
script = ExtResource("8_7tjvh")
to = NodePath("../../Absent")
event = &"player_exited"
delay_in_seconds = "0.0"
[node name="Animation Control" type="Node" parent="StateChart/Root"]
[node name="Animation Control" type="Node" parent="StateChart/Root" unique_id=1492305246]
script = ExtResource("6_qkwqk")
initial_state = NodePath("Idle")
[node name="Idle" type="Node" parent="StateChart/Root/Animation Control"]
[node name="Idle" type="Node" parent="StateChart/Root/Animation Control" unique_id=995765937]
script = ExtResource("7_a74k1")
[node name="On Player Enter" type="Node" parent="StateChart/Root/Animation Control/Idle"]
[node name="On Player Enter" type="Node" parent="StateChart/Root/Animation Control/Idle" unique_id=851105802]
script = ExtResource("8_7tjvh")
to = NodePath("../../Expanding")
event = &"player_entered"
delay_in_seconds = "0.0"
[node name="Expanding" type="Node" parent="StateChart/Root/Animation Control"]
[node name="Expanding" type="Node" parent="StateChart/Root/Animation Control" unique_id=2141017871]
script = ExtResource("7_a74k1")
[node name="After 1 s" type="Node" parent="StateChart/Root/Animation Control/Expanding"]
[node name="After 1 s" type="Node" parent="StateChart/Root/Animation Control/Expanding" unique_id=745397416]
script = ExtResource("8_7tjvh")
to = NodePath("../../Activated/Expanded")
delay_seconds = 0.9
delay_in_seconds = "0.9"
[node name="Activated" type="Node" parent="StateChart/Root/Animation Control"]
[node name="Activated" type="Node" parent="StateChart/Root/Animation Control" unique_id=709636235]
script = ExtResource("6_qkwqk")
initial_state = NodePath("Expanded")
[node name="Expanded" type="Node" parent="StateChart/Root/Animation Control/Activated"]
[node name="Expanded" type="Node" parent="StateChart/Root/Animation Control/Activated" unique_id=123613028]
script = ExtResource("7_a74k1")
[node name="Immediately" type="Node" parent="StateChart/Root/Animation Control/Activated/Expanded"]
[node name="Immediately" type="Node" parent="StateChart/Root/Animation Control/Activated/Expanded" unique_id=1135763697]
editor_description = "Immediately go to the retracting state when the player is no longer present when entering this state."
script = ExtResource("8_7tjvh")
to = NodePath("../../Waiting To Retract")
guard = SubResource("Resource_22wfi")
delay_in_seconds = "0.0"
[node name="On Player Leave" type="Node" parent="StateChart/Root/Animation Control/Activated/Expanded"]
[node name="On Player Leave" type="Node" parent="StateChart/Root/Animation Control/Activated/Expanded" unique_id=101362850]
script = ExtResource("8_7tjvh")
to = NodePath("../../Waiting To Retract")
event = &"player_exited"
delay_in_seconds = "0.0"
[node name="Waiting To Retract" type="Node" parent="StateChart/Root/Animation Control/Activated"]
[node name="Waiting To Retract" type="Node" parent="StateChart/Root/Animation Control/Activated" unique_id=1622701644]
script = ExtResource("7_a74k1")
[node name="After 5 s" type="Node" parent="StateChart/Root/Animation Control/Activated/Waiting To Retract"]
[node name="After 5 s" type="Node" parent="StateChart/Root/Animation Control/Activated/Waiting To Retract" unique_id=3878621]
script = ExtResource("8_7tjvh")
to = NodePath("../../../Retracting")
delay_seconds = 5.0
delay_in_seconds = "5.0"
[node name="On Player Enter" type="Node" parent="StateChart/Root/Animation Control/Activated/Waiting To Retract"]
[node name="On Player Enter" type="Node" parent="StateChart/Root/Animation Control/Activated/Waiting To Retract" unique_id=1340440062]
script = ExtResource("8_7tjvh")
to = NodePath("../../Expanded")
event = &"player_entered"
delay_in_seconds = "0.0"
[node name="Retracting" type="Node" parent="StateChart/Root/Animation Control"]
[node name="Retracting" type="Node" parent="StateChart/Root/Animation Control" unique_id=338543894]
script = ExtResource("7_a74k1")
[node name="After 1 s" type="Node" parent="StateChart/Root/Animation Control/Retracting"]
[node name="After 1 s" type="Node" parent="StateChart/Root/Animation Control/Retracting" unique_id=1157275889]
script = ExtResource("8_7tjvh")
to = NodePath("../../Idle")
delay_seconds = 0.9
delay_in_seconds = "0.9"
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
[connection signal="body_exited" from="Area2D" to="." method="_on_area_2d_body_exited"]

View File

@@ -18,6 +18,8 @@ dest_files=["res://.godot/imported/checkpoint_flag_out.png-d1302c67d10e0b187eb8c
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -25,6 +27,10 @@ mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false

View File

@@ -18,6 +18,8 @@ dest_files=["res://.godot/imported/checkpoint_idle.png-450aa64af9f9812b4e2bfc351
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -25,6 +27,10 @@ mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false

View File

@@ -18,6 +18,8 @@ dest_files=["res://.godot/imported/checkpoint_no_flag.png-439157dcb5eca60e80049f
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -25,6 +27,10 @@ mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false

View File

@@ -18,6 +18,8 @@ dest_files=["res://.godot/imported/box.png-c36de003bc6b3890e50f6a4e0637c2de.ctex
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -25,6 +27,10 @@ mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false

View File

@@ -1,12 +1,12 @@
[gd_scene load_steps=18 format=3 uid="uid://bvrbfp870t0kd"]
[gd_scene format=3 uid="uid://bvrbfp870t0kd"]
[ext_resource type="Script" path="res://godot_state_charts_examples/platformer/fireworks_box/fireworks_box.gd" id="1_6vg3k"]
[ext_resource type="Script" uid="uid://dn46gqfbbvsnk" path="res://godot_state_charts_examples/platformer/fireworks_box/fireworks_box.gd" id="1_6vg3k"]
[ext_resource type="Texture2D" uid="uid://roilgifkgiii" path="res://godot_state_charts_examples/platformer/fireworks_box/box.png" id="1_aido8"]
[ext_resource type="Script" path="res://addons/godot_state_charts/state_chart.gd" id="2_ahjdl"]
[ext_resource type="Script" path="res://addons/godot_state_charts/compound_state.gd" id="3_b1cau"]
[ext_resource type="Script" path="res://addons/godot_state_charts/atomic_state.gd" id="4_ot1ih"]
[ext_resource type="Script" path="res://addons/godot_state_charts/transition.gd" id="6_bf3gq"]
[ext_resource type="Script" path="res://addons/godot_state_charts/expression_guard.gd" id="7_tu34q"]
[ext_resource type="Script" uid="uid://couw105c3bde4" path="res://addons/godot_state_charts/state_chart.gd" id="2_ahjdl"]
[ext_resource type="Script" uid="uid://jk2jm1g6q853" path="res://addons/godot_state_charts/compound_state.gd" id="3_b1cau"]
[ext_resource type="Script" uid="uid://cytafq8i1y8qm" path="res://addons/godot_state_charts/atomic_state.gd" id="4_ot1ih"]
[ext_resource type="Script" uid="uid://cf1nsco3w0mf6" path="res://addons/godot_state_charts/transition.gd" id="6_bf3gq"]
[ext_resource type="Script" uid="uid://le5w1cm0ul8p" path="res://addons/godot_state_charts/expression_guard.gd" id="7_tu34q"]
[sub_resource type="Resource" id="Resource_y5h70"]
script = ExtResource("7_tu34q")
@@ -145,10 +145,10 @@ tracks/1/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_stxxq"]
_data = {
"RESET": SubResource("Animation_0njji"),
"explode": SubResource("Animation_81tef"),
"idle": SubResource("Animation_yw5k5"),
"rattle": SubResource("Animation_tug1d")
&"RESET": SubResource("Animation_0njji"),
&"explode": SubResource("Animation_81tef"),
&"idle": SubResource("Animation_yw5k5"),
&"rattle": SubResource("Animation_tug1d")
}
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_c15xx"]
@@ -156,84 +156,83 @@ lifetime_randomness = 0.17
particle_flag_disable_z = true
direction = Vector3(0, -1, 0)
spread = 42.97
gravity = Vector3(0, 20, 0)
initial_velocity_min = 26.32
initial_velocity_max = 52.63
orbit_velocity_min = 0.0
orbit_velocity_max = 0.0
gravity = Vector3(0, 20, 0)
turbulence_noise_scale = 8.14
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4ryt0"]
[node name="FireworksBox" type="Node2D"]
[node name="FireworksBox" type="Node2D" unique_id=60489867]
script = ExtResource("1_6vg3k")
[node name="Box" type="Sprite2D" parent="."]
[node name="Box" type="Sprite2D" parent="." unique_id=968745388]
position = Vector2(0, -10)
texture = ExtResource("1_aido8")
[node name="StateChart" type="Node" parent="."]
[node name="StateChart" type="Node" parent="." unique_id=1937350625]
editor_description = "A state chart controlling the rattling and explosion of a box. You can probably use a simple script to achieve the same behaviour but it shows how to use expression guards."
script = ExtResource("2_ahjdl")
track_in_editor = true
[node name="Root" type="Node" parent="StateChart"]
[node name="Root" type="Node" parent="StateChart" unique_id=815426975]
script = ExtResource("3_b1cau")
initial_state = NodePath("Idle")
[node name="Idle" type="Node" parent="StateChart/Root"]
[node name="Idle" type="Node" parent="StateChart/Root" unique_id=1866405609]
script = ExtResource("4_ot1ih")
[node name="Rattle on Counter" type="Node" parent="StateChart/Root/Idle"]
[node name="Rattle on Counter" type="Node" parent="StateChart/Root/Idle" unique_id=296489587]
script = ExtResource("6_bf3gq")
to = NodePath("../../Rattling")
event = &"counter_changed"
guard = SubResource("Resource_y5h70")
delay_in_seconds = "0.0"
[node name="Rattling" type="Node" parent="StateChart/Root"]
[node name="Rattling" type="Node" parent="StateChart/Root" unique_id=1998217708]
script = ExtResource("4_ot1ih")
[node name="Explode on Counter" type="Node" parent="StateChart/Root/Rattling"]
[node name="Explode on Counter" type="Node" parent="StateChart/Root/Rattling" unique_id=364618899]
script = ExtResource("6_bf3gq")
to = NodePath("../../Exploding")
event = &"counter_changed"
guard = SubResource("Resource_lsbaa")
delay_in_seconds = "0.0"
[node name="Get back to Idle" type="Node" parent="StateChart/Root/Rattling"]
[node name="Get back to Idle" type="Node" parent="StateChart/Root/Rattling" unique_id=1872023793]
script = ExtResource("6_bf3gq")
to = NodePath("../../Idle")
event = &"counter_changed"
guard = SubResource("Resource_t7gf7")
delay_in_seconds = "0.0"
[node name="Exploding" type="Node" parent="StateChart/Root"]
[node name="Exploding" type="Node" parent="StateChart/Root" unique_id=323552982]
script = ExtResource("4_ot1ih")
[node name="Die after 4s" type="Node" parent="StateChart/Root/Exploding"]
[node name="Die after 4s" type="Node" parent="StateChart/Root/Exploding" unique_id=322710100]
script = ExtResource("6_bf3gq")
to = NodePath("../../Dead")
delay_seconds = 4.0
delay_in_seconds = "4.0"
[node name="Dead" type="Node" parent="StateChart/Root"]
[node name="Dead" type="Node" parent="StateChart/Root" unique_id=2088449843]
script = ExtResource("4_ot1ih")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=783766699]
reset_on_save = false
libraries = {
"": SubResource("AnimationLibrary_stxxq")
}
libraries/ = SubResource("AnimationLibrary_stxxq")
[node name="GPUParticles2D" type="GPUParticles2D" parent="."]
[node name="GPUParticles2D" type="GPUParticles2D" parent="." unique_id=1225582687]
position = Vector2(0, -10)
emitting = false
amount = 300
process_material = SubResource("ParticleProcessMaterial_c15xx")
lifetime = 2.81
one_shot = true
explosiveness = 0.86
process_material = SubResource("ParticleProcessMaterial_c15xx")
[node name="Area2D" type="Area2D" parent="."]
[node name="Area2D" type="Area2D" parent="." unique_id=606236214]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=232504032]
position = Vector2(0, -10)
shape = SubResource("RectangleShape2D_4ryt0")

View File

@@ -18,6 +18,8 @@ dest_files=["res://.godot/imported/full.png-a85a82780a54dfe88e1678c76076d884.cte
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -25,6 +27,10 @@ mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false

View File

@@ -77,4 +77,3 @@ func _on_input_event(_viewport:Node, event:InputEvent, _shape_idx:int):
# if the left mouse button is up emit the clicked signal
if event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and event.is_pressed() == false:
clicked.emit(self)

View File

@@ -1,11 +1,11 @@
[gd_scene load_steps=28 format=3 uid="uid://v5vg88it87oj"]
[gd_scene format=3 uid="uid://v5vg88it87oj"]
[ext_resource type="Script" path="res://godot_state_charts_examples/platformer/ninja_frog/ninja_frog.gd" id="1_xi1lh"]
[ext_resource type="Script" path="res://addons/godot_state_charts/state_chart.gd" id="3_qw75p"]
[ext_resource type="Script" path="res://addons/godot_state_charts/compound_state.gd" id="4_g6c55"]
[ext_resource type="Script" path="res://addons/godot_state_charts/atomic_state.gd" id="6_vmkuk"]
[ext_resource type="Script" uid="uid://qid37o42he05" path="res://godot_state_charts_examples/platformer/ninja_frog/ninja_frog.gd" id="1_xi1lh"]
[ext_resource type="Script" uid="uid://couw105c3bde4" path="res://addons/godot_state_charts/state_chart.gd" id="3_qw75p"]
[ext_resource type="Script" uid="uid://jk2jm1g6q853" path="res://addons/godot_state_charts/compound_state.gd" id="4_g6c55"]
[ext_resource type="Script" uid="uid://cytafq8i1y8qm" path="res://addons/godot_state_charts/atomic_state.gd" id="6_vmkuk"]
[ext_resource type="Texture2D" uid="uid://bgswg1pgd01d1" path="res://godot_state_charts_examples/platformer/ninja_frog/full.png" id="7_fehuj"]
[ext_resource type="Script" path="res://addons/godot_state_charts/transition.gd" id="9_wswdv"]
[ext_resource type="Script" uid="uid://cf1nsco3w0mf6" path="res://addons/godot_state_charts/transition.gd" id="9_wswdv"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_1ethx"]
radius = 12.0
@@ -110,12 +110,12 @@ tracks/0/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_au2ov"]
_data = {
"RESET": SubResource("Animation_uq0h4"),
"double_jump": SubResource("Animation_10ku2"),
"fall": SubResource("Animation_ibg22"),
"idle": SubResource("Animation_5rh2e"),
"jump": SubResource("Animation_jaga7"),
"walk": SubResource("Animation_6odvc")
&"RESET": SubResource("Animation_uq0h4"),
&"double_jump": SubResource("Animation_10ku2"),
&"fall": SubResource("Animation_ibg22"),
&"idle": SubResource("Animation_5rh2e"),
&"jump": SubResource("Animation_jaga7"),
&"walk": SubResource("Animation_6odvc")
}
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_k3ia7"]
@@ -167,95 +167,89 @@ states/Start/position = Vector2(210.5, 73.75)
transitions = ["Start", "Idle", SubResource("AnimationNodeStateMachineTransition_i3ow4"), "Idle", "Move", SubResource("AnimationNodeStateMachineTransition_a52qu"), "Move", "Idle", SubResource("AnimationNodeStateMachineTransition_1q7sj"), "Move", "DoubleJump", SubResource("AnimationNodeStateMachineTransition_4cnci"), "DoubleJump", "Move", SubResource("AnimationNodeStateMachineTransition_ddbej")]
graph_offset = Vector2(84, -7)
[sub_resource type="AnimationNodeStateMachinePlayback" id="AnimationNodeStateMachinePlayback_63x7j"]
[node name="NinjaFrog" type="CharacterBody2D" groups=["player"]]
[node name="NinjaFrog" type="CharacterBody2D" unique_id=529217400 groups=["player"]]
input_pickable = true
script = ExtResource("1_xi1lh")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=221261754]
position = Vector2(0, -15)
shape = SubResource("CapsuleShape2D_1ethx")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_au2ov")
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=787534350]
libraries/ = SubResource("AnimationLibrary_au2ov")
[node name="Sprite" type="Sprite2D" parent="."]
[node name="Sprite" type="Sprite2D" parent="." unique_id=1611622999]
texture_filter = 1
texture = ExtResource("7_fehuj")
offset = Vector2(0, -12)
hframes = 31
[node name="AnimationTree" type="AnimationTree" parent="."]
[node name="AnimationTree" type="AnimationTree" parent="." unique_id=1352272828]
callback_mode_process = 0
tree_root = SubResource("AnimationNodeStateMachine_ckafx")
anim_player = NodePath("../AnimationPlayer")
active = true
process_callback = 0
parameters/playback = SubResource("AnimationNodeStateMachinePlayback_63x7j")
parameters/Move/blend_position = -0.380028
[node name="StateChart" type="Node" parent="."]
[node name="StateChart" type="Node" parent="." unique_id=619602064]
script = ExtResource("3_qw75p")
track_in_editor = true
[node name="Root" type="Node" parent="StateChart"]
[node name="Root" type="Node" parent="StateChart" unique_id=469716716]
editor_description = "This is the root of all movement related states."
script = ExtResource("4_g6c55")
initial_state = NodePath("Grounded")
[node name="Grounded" type="Node" parent="StateChart/Root"]
[node name="Grounded" type="Node" parent="StateChart/Root" unique_id=492021239]
editor_description = "This state is active when the player is on the ground."
script = ExtResource("6_vmkuk")
[node name="On Jump" type="Node" parent="StateChart/Root/Grounded"]
[node name="On Jump" type="Node" parent="StateChart/Root/Grounded" unique_id=876298812]
editor_description = "When jumping become airborne and enable double-jump."
script = ExtResource("9_wswdv")
to = NodePath("../../Airborne/DoubleJumpEnabled")
event = &"jump"
delay_in_seconds = "0.0"
[node name="On Airborne" type="Node" parent="StateChart/Root/Grounded"]
[node name="On Airborne" type="Node" parent="StateChart/Root/Grounded" unique_id=1230549586]
editor_description = "When becoming airborne (e.g. through falling) move to airborne state."
script = ExtResource("9_wswdv")
to = NodePath("../../Airborne")
event = &"airborne"
delay_in_seconds = "0.0"
[node name="Airborne" type="Node" parent="StateChart/Root"]
[node name="Airborne" type="Node" parent="StateChart/Root" unique_id=1758774922]
editor_description = "This is the root state for when the player is in the air. We have sub-states to handle the various input that is allowed when in the air."
script = ExtResource("4_g6c55")
initial_state = NodePath("CoyoteJumpEnabled")
[node name="On Grounded" type="Node" parent="StateChart/Root/Airborne"]
[node name="On Grounded" type="Node" parent="StateChart/Root/Airborne" unique_id=375743130]
script = ExtResource("9_wswdv")
to = NodePath("../../Grounded")
event = &"grounded"
delay_in_seconds = "0.0"
[node name="CoyoteJumpEnabled" type="Node" parent="StateChart/Root/Airborne"]
[node name="CoyoteJumpEnabled" type="Node" parent="StateChart/Root/Airborne" unique_id=1605297406]
editor_description = "While in this state, the player can jump for a short time. The state is activated by default when the player becomes airborne from falling. Allowing a jump for a short time makes the controls feel nicer. The \"On Expiration\" transition will leave this state after the grace period."
script = ExtResource("6_vmkuk")
[node name="On Jump" type="Node" parent="StateChart/Root/Airborne/CoyoteJumpEnabled"]
[node name="On Jump" type="Node" parent="StateChart/Root/Airborne/CoyoteJumpEnabled" unique_id=637445038]
editor_description = "On jump handle this as if the player originally jumped."
script = ExtResource("9_wswdv")
to = NodePath("../../DoubleJumpEnabled")
event = &"jump"
delay_in_seconds = "0.0"
[node name="On Expiration" type="Node" parent="StateChart/Root/Airborne/CoyoteJumpEnabled"]
[node name="On Expiration" type="Node" parent="StateChart/Root/Airborne/CoyoteJumpEnabled" unique_id=603753836]
editor_description = "After 0.2 seconds automatically move to falling state where no more jump is possible."
script = ExtResource("9_wswdv")
to = NodePath("../../CannotJump")
delay_in_seconds = "0.2"
[node name="DoubleJumpEnabled" type="Node" parent="StateChart/Root/Airborne"]
[node name="DoubleJumpEnabled" type="Node" parent="StateChart/Root/Airborne" unique_id=1387454787]
editor_description = "This state is active while the player is in the air and has jumped one time already. While the state is active, a second jump is allowed."
script = ExtResource("6_vmkuk")
[node name="On Jump" type="Node" parent="StateChart/Root/Airborne/DoubleJumpEnabled"]
[node name="On Jump" type="Node" parent="StateChart/Root/Airborne/DoubleJumpEnabled" unique_id=376883034]
editor_description = "When jumping in double jump state, move to a state where no more jumps are possible.
Triggers the double-jump animation as a side effect."
@@ -264,7 +258,7 @@ to = NodePath("../../CannotJump")
event = &"jump"
delay_in_seconds = "0.0"
[node name="CannotJump" type="Node" parent="StateChart/Root/Airborne"]
[node name="CannotJump" type="Node" parent="StateChart/Root/Airborne" unique_id=146403217]
editor_description = "This state is active when the player is airborne but can no longer jump either because the coyote-jump grace period has expired or the player has already used the double-jump."
script = ExtResource("6_vmkuk")

File diff suppressed because one or more lines are too long

View File

@@ -18,6 +18,8 @@ dest_files=["res://.godot/imported/green.png-7e931e8924aaf6f1ff626e30e2c63319.ct
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -25,6 +27,10 @@ mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false

View File

@@ -18,6 +18,8 @@ dest_files=["res://.godot/imported/terrain_tiles.png-2247cd6621fc9988b0ae044edcc
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
@@ -25,6 +27,10 @@ mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false

View File

@@ -1,4 +1,4 @@
[gd_resource type="TileSet" load_steps=6 format=3 uid="uid://cd6hbvgl1e2xy"]
[gd_resource type="TileSet" format=3 uid="uid://cd6hbvgl1e2xy"]
[ext_resource type="Texture2D" uid="uid://d2evtvw3l7jug" path="res://godot_state_charts_examples/platformer/terrain/terrain_tiles.png" id="1_g8rgd"]
[ext_resource type="Texture2D" uid="uid://bap00a5gcipy6" path="res://godot_state_charts_examples/platformer/terrain/green.png" id="2_q18a4"]
@@ -9,46 +9,26 @@ friction = 0.0
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_p8in1"]
texture = ExtResource("1_g8rgd")
6:4/0 = 0
6:4/0/physics_layer_0/linear_velocity = Vector2(0, 0)
6:4/0/physics_layer_0/angular_velocity = 0.0
6:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
7:4/0 = 0
7:4/0/physics_layer_0/linear_velocity = Vector2(0, 0)
7:4/0/physics_layer_0/angular_velocity = 0.0
7:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
8:4/0 = 0
8:4/0/physics_layer_0/linear_velocity = Vector2(0, 0)
8:4/0/physics_layer_0/angular_velocity = 0.0
8:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
8:5/0 = 0
8:5/0/physics_layer_0/linear_velocity = Vector2(0, 0)
8:5/0/physics_layer_0/angular_velocity = 0.0
8:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
8:6/0 = 0
8:6/0/physics_layer_0/linear_velocity = Vector2(0, 0)
8:6/0/physics_layer_0/angular_velocity = 0.0
8:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
7:6/0 = 0
7:6/0/physics_layer_0/linear_velocity = Vector2(0, 0)
7:6/0/physics_layer_0/angular_velocity = 0.0
7:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
6:6/0 = 0
6:6/0/physics_layer_0/linear_velocity = Vector2(0, 0)
6:6/0/physics_layer_0/angular_velocity = 0.0
6:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
6:5/0 = 0
6:5/0/physics_layer_0/linear_velocity = Vector2(0, 0)
6:5/0/physics_layer_0/angular_velocity = 0.0
6:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
7:5/0 = 0
7:5/0/physics_layer_0/linear_velocity = Vector2(0, 0)
7:5/0/physics_layer_0/angular_velocity = 0.0
7:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
0:0/0 = 0
0:0/0/terrain_set = 0
0:0/0/terrain = 0
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:0/0/physics_layer_0/angular_velocity = 0.0
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 0.3125, 0.5, 0.5, 0, 8, -8, 7.5)
0:0/0/terrains_peering_bit/right_side = 0
0:0/0/terrains_peering_bit/bottom_right_corner = 0
@@ -56,8 +36,6 @@ texture = ExtResource("1_g8rgd")
1:0/0 = 0
1:0/0/terrain_set = 0
1:0/0/terrain = 0
1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:0/0/physics_layer_0/angular_velocity = 0.0
1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -8, 8, 0, -8, 0, -8, -8)
1:0/0/terrains_peering_bit/right_side = 0
1:0/0/terrains_peering_bit/bottom_right_corner = 0
@@ -67,8 +45,6 @@ texture = ExtResource("1_g8rgd")
1:1/0 = 0
1:1/0/terrain_set = 0
1:1/0/terrain = 0
1:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:1/0/physics_layer_0/angular_velocity = 0.0
1:1/0/terrains_peering_bit/right_side = 0
1:1/0/terrains_peering_bit/bottom_right_corner = 0
1:1/0/terrains_peering_bit/bottom_side = 0
@@ -80,8 +56,6 @@ texture = ExtResource("1_g8rgd")
2:1/0 = 0
2:1/0/terrain_set = 0
2:1/0/terrain = 0
2:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:1/0/physics_layer_0/angular_velocity = 0.0
2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, -8, 8, -8, 8, 8, 0, 8)
2:1/0/terrains_peering_bit/bottom_side = 0
2:1/0/terrains_peering_bit/bottom_left_corner = 0
@@ -91,8 +65,6 @@ texture = ExtResource("1_g8rgd")
2:2/0 = 0
2:2/0/terrain_set = 0
2:2/0/terrain = 0
2:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:2/0/physics_layer_0/angular_velocity = 0.0
2:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(0, -8, 8, -8, 8, 8, -8, 8, -8, 0, 0, 0)
2:2/0/terrains_peering_bit/left_side = 0
2:2/0/terrains_peering_bit/top_left_corner = 0
@@ -100,8 +72,6 @@ texture = ExtResource("1_g8rgd")
2:0/0 = 0
2:0/0/terrain_set = 0
2:0/0/terrain = 0
2:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:0/0/physics_layer_0/angular_velocity = 0.0
2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, -8, 8, 8, -8, 8, -8, -8)
2:0/0/terrains_peering_bit/bottom_side = 0
2:0/0/terrains_peering_bit/bottom_left_corner = 0
@@ -109,8 +79,6 @@ texture = ExtResource("1_g8rgd")
0:1/0 = 0
0:1/0/terrain_set = 0
0:1/0/terrain = 0
0:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:1/0/physics_layer_0/angular_velocity = 0.0
0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 0, -8, 0, 8, -8, 7.5)
0:1/0/terrains_peering_bit/right_side = 0
0:1/0/terrains_peering_bit/bottom_right_corner = 0
@@ -120,8 +88,6 @@ texture = ExtResource("1_g8rgd")
0:2/0 = 0
0:2/0/terrain_set = 0
0:2/0/terrain = 0
0:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:2/0/physics_layer_0/angular_velocity = 0.0
0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
0:2/0/terrains_peering_bit/right_side = 0
0:2/0/terrains_peering_bit/top_side = 0
@@ -129,8 +95,6 @@ texture = ExtResource("1_g8rgd")
1:2/0 = 0
1:2/0/terrain_set = 0
1:2/0/terrain = 0
1:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:2/0/physics_layer_0/angular_velocity = 0.0
1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(8, 0, 8, 8, -8, 8, -8, 0)
1:2/0/terrains_peering_bit/right_side = 0
1:2/0/terrains_peering_bit/left_side = 0
@@ -141,53 +105,21 @@ texture = ExtResource("1_g8rgd")
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_gpldh"]
texture = ExtResource("2_q18a4")
0:0/0 = 0
0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:0/0/physics_layer_0/angular_velocity = 0.0
1:0/0 = 0
1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:0/0/physics_layer_0/angular_velocity = 0.0
1:1/0 = 0
1:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:1/0/physics_layer_0/angular_velocity = 0.0
1:2/0 = 0
1:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:2/0/physics_layer_0/angular_velocity = 0.0
2:2/0 = 0
2:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:2/0/physics_layer_0/angular_velocity = 0.0
0:2/0 = 0
0:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:2/0/physics_layer_0/angular_velocity = 0.0
0:1/0 = 0
0:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:1/0/physics_layer_0/angular_velocity = 0.0
2:0/0 = 0
2:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:0/0/physics_layer_0/angular_velocity = 0.0
3:0/0 = 0
3:0/0/physics_layer_0/linear_velocity = Vector2(0, 0)
3:0/0/physics_layer_0/angular_velocity = 0.0
3:1/0 = 0
3:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
3:1/0/physics_layer_0/angular_velocity = 0.0
2:1/0 = 0
2:1/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:1/0/physics_layer_0/angular_velocity = 0.0
3:2/0 = 0
3:2/0/physics_layer_0/linear_velocity = Vector2(0, 0)
3:2/0/physics_layer_0/angular_velocity = 0.0
2:3/0 = 0
2:3/0/physics_layer_0/linear_velocity = Vector2(0, 0)
2:3/0/physics_layer_0/angular_velocity = 0.0
1:3/0 = 0
1:3/0/physics_layer_0/linear_velocity = Vector2(0, 0)
1:3/0/physics_layer_0/angular_velocity = 0.0
0:3/0 = 0
0:3/0/physics_layer_0/linear_velocity = Vector2(0, 0)
0:3/0/physics_layer_0/angular_velocity = 0.0
3:3/0 = 0
3:3/0/physics_layer_0/linear_velocity = Vector2(0, 0)
3:3/0/physics_layer_0/angular_velocity = 0.0
[resource]
physics_layer_0/collision_layer = 1