Fix 29
All checks were successful
Build / build (push) Successful in 1m18s

This commit is contained in:
2025-06-07 23:31:44 +02:00
parent b1ffda018b
commit 9ed0852a50
27 changed files with 119 additions and 105 deletions

32
scenes/Player.tscn Executable file → Normal file
View File

@@ -1,26 +1,22 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=5 format=3 uid="uid://yqrktrylknhl"]
[ext_resource path="res://scripts/Player.gd" type="Script" id=1]
[ext_resource path="res://scenes/Cannon.tscn" type="PackedScene" id=2]
[ext_resource path="res://resources/img/cat0.png" type="Texture2D" id=3]
[ext_resource type="Script" uid="uid://bkrf46qmsle20" path="res://scripts/Player.gd" id="1"]
[ext_resource type="PackedScene" uid="uid://b5bxa18dqh4od" path="res://scenes/Cannon.tscn" id="2"]
[ext_resource type="Texture2D" uid="uid://b6au28glxf586" path="res://resources/img/cat0.png" id="3"]
[sub_resource type="CapsuleShape2D" id=1]
custom_solver_bias = 0.0
radius = 79.0755
[sub_resource type="CapsuleShape2D" id="1"]
radius = 44.7607
height = 89.5214
[node name="Player" type="Node2D" groups=[
"ColoredEntity",
]]
script = ExtResource( 1 )
[node name="Player" type="Node2D" groups=["ColoredEntity"]]
script = ExtResource("1")
[node name="Cannon" parent="." instance=ExtResource( 2 )]
position = Vector2( -50.0759, 40.2842 )
[node name="Cannon" parent="." instance=ExtResource("2")]
position = Vector2(-50.0759, 40.2842)
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 3 )
scale = Vector2(0.5, 0.5)
texture = ExtResource("3")
[node name="Body" type="CharacterBody2D" parent="."]
input_pickable = false
@@ -30,7 +26,7 @@ collision/safe_margin = 0.08
motion/sync_to_physics = false
[node name="Collision" type="CollisionShape2D" parent="Body"]
position = Vector2( -6.08298, -9.86302 )
shape = SubResource( 1 )
position = Vector2(-6.08298, -9.86302)
shape = SubResource("1")
[connection signal="unblock" from="." to="." method="_on_Player_unblock"]