godot-build-test/main.tscn
2024-07-29 11:57:57 +02:00

27 lines
801 B
Text

[gd_scene load_steps=4 format=3 uid="uid://c01attph3ilf"]
[ext_resource type="Texture2D" uid="uid://b1lb2fkv0plii" path="res://atlas/SPRT_Hand.png" id="1_eekpu"]
[sub_resource type="AtlasTexture" id="AtlasTexture_jna7e"]
atlas = ExtResource("1_eekpu")
region = Rect2(0, 0, 224, 256)
[sub_resource type="GDScript" id="GDScript_x3j7o"]
script/source = "extends Sprite2D
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
position = get_global_mouse_position()
"
[node name="Node2D" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_jna7e")
script = SubResource("GDScript_x3j7o")