33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://yqrktrylknhl"]
|
|
|
|
[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"]
|
|
radius = 44.7607
|
|
height = 89.5214
|
|
|
|
[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="Sprite2D" type="Sprite2D" parent="."]
|
|
scale = Vector2(0.5, 0.5)
|
|
texture = ExtResource("3")
|
|
|
|
[node name="Body" type="CharacterBody2D" parent="."]
|
|
input_pickable = false
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
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")
|
|
|
|
[connection signal="unblock" from="." to="." method="_on_Player_unblock"]
|