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/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")