updating project files
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user