interaction wheel
cancel interaction wheel
This commit is contained in:
49
scene/interaction_wheel.tscn
Normal file
49
scene/interaction_wheel.tscn
Normal file
@@ -0,0 +1,49 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://bq0jhdgh104y6"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://n806c03hgaq1" path="res://assets/scifi_tilesheet@2.png" id="1_1ljdt"]
|
||||
[ext_resource type="Script" path="res://scripts/interaction_wheel.gd" id="1_gdnx3"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7xl34"]
|
||||
atlas = ExtResource("1_1ljdt")
|
||||
region = Rect2(832, 512, 128, 128)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gdnoe"]
|
||||
atlas = ExtResource("1_1ljdt")
|
||||
region = Rect2(1024, 512, 64, 64)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ci5w3"]
|
||||
atlas = ExtResource("1_1ljdt")
|
||||
region = Rect2(960, 576, 64, 64)
|
||||
|
||||
[node name="InteractionWheel" type="Node2D"]
|
||||
script = ExtResource("1_gdnx3")
|
||||
|
||||
[node name="Wheel" type="Sprite2D" parent="."]
|
||||
texture = SubResource("AtlasTexture_7xl34")
|
||||
|
||||
[node name="Interactions" type="Node2D" parent="."]
|
||||
|
||||
[node name="SpriteNorth" type="Sprite2D" parent="Interactions"]
|
||||
position = Vector2(0, -96)
|
||||
texture = SubResource("AtlasTexture_gdnoe")
|
||||
|
||||
[node name="SpriteEast" type="Sprite2D" parent="Interactions"]
|
||||
visible = false
|
||||
position = Vector2(96, 0)
|
||||
texture = SubResource("AtlasTexture_gdnoe")
|
||||
|
||||
[node name="SpriteWest" type="Sprite2D" parent="Interactions"]
|
||||
visible = false
|
||||
position = Vector2(-96, 0)
|
||||
texture = SubResource("AtlasTexture_gdnoe")
|
||||
|
||||
[node name="SpriteSouth" type="Sprite2D" parent="Interactions"]
|
||||
visible = false
|
||||
position = Vector2(0, 96)
|
||||
texture = SubResource("AtlasTexture_gdnoe")
|
||||
|
||||
[node name="Cursor" type="Sprite2D" parent="."]
|
||||
visible = false
|
||||
texture = SubResource("AtlasTexture_ci5w3")
|
||||
centered = false
|
||||
offset = Vector2(0, -32)
|
||||
Reference in New Issue
Block a user