This commit is contained in:
Fabio 2024-08-18 21:18:52 +02:00
parent 27e588b98c
commit 1f32046617
6 changed files with 49 additions and 49 deletions

View file

@ -2,7 +2,7 @@
[ext_resource type="Script" path="res://scripts/player_movement.gd" id="1_a6lhy"]
[ext_resource type="Texture2D" uid="uid://qcx482jc7pqr" path="res://textures/player.png" id="2_sscjv"]
[ext_resource type="Texture2D" uid="uid://dfvxk0e8taj1d" path="res://textures/Eye Lase.png" id="3_yg3ur"]
[ext_resource type="Texture2D" uid="uid://bd7y5w6cfi5ly" path="res://textures/Eye Lase.png" id="3_yg3ur"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jqi2f"]
radius = 9.0

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=4 format=3 uid="uid://br6fngf5208j0"]
[ext_resource type="Texture2D" uid="uid://bplkveclkwuk" path="res://textures/block-blue.png" id="1_ejp7j"]
[ext_resource type="Texture2D" uid="uid://bqyd0blnkls1g" path="res://textures/block-blue.png" id="1_ejp7j"]
[ext_resource type="Script" path="res://scripts/resizable_block.gd" id="1_j40bu"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_sgemy"]

View file

@ -0,0 +1,21 @@
[gd_scene load_steps=4 format=3 uid="uid://dpg2s61eevjd"]
[ext_resource type="Script" path="res://scripts/resizable_block.gd" id="1_bulc3"]
[ext_resource type="Texture2D" uid="uid://dbwquy34l8gd4" path="res://textures/block-small.png" id="2_42gyy"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vlk61"]
size = Vector2(30, 30)
[node name="Block" type="StaticBody2D"]
collision_layer = 17
collision_mask = 22
input_pickable = true
script = ExtResource("1_bulc3")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_42gyy")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_vlk61")
[connection signal="input_event" from="." to="." method="_on_input_event"]