Cube and a simple slice script thats now empty cuz i couldn't get it to work... also the cursor now is area2D
18 lines
636 B
Plaintext
18 lines
636 B
Plaintext
[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")
|