Cube and a simple slice script thats now empty cuz i couldn't get it to work...

also the cursor now is area2D
This commit is contained in:
2025-06-30 16:16:57 +03:00
parent e2cc40266b
commit 6a34f6dcd0
7 changed files with 89 additions and 7 deletions

17
game/Objects/Cursor.tscn Normal file
View File

@@ -0,0 +1,17 @@
[gd_scene load_steps=4 format=3 uid="uid://c42ny2e8vbhhc"]
[ext_resource type="Script" uid="uid://ccydu80643k4s" path="res://Scripts/CursorScript.gd" id="1_uu6xs"]
[ext_resource type="Texture2D" uid="uid://d0hckoql2xnbq" path="res://Textures/svg/Cursor.svg" id="2_r0du0"]
[sub_resource type="CircleShape2D" id="CircleShape2D_v75j3"]
radius = 28.0713
[node name="Cursor" type="Area2D"]
script = ExtResource("1_uu6xs")
ShowMouse = true
[node name="CursorTexture" type="Sprite2D" parent="."]
texture = ExtResource("2_r0du0")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_v75j3")