Some code organization
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class_name AbstractPassageIndicator
|
||||
extends Node2D
|
||||
|
||||
|
||||
@onready var active_sprite : Sprite2D = $ActiveSprite
|
||||
@onready var inactive_sprite : Sprite2D = $InactiveSprite
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
inactive_sprite.hide()
|
||||
|
||||
|
||||
func set_active(is_active: bool) -> void:
|
||||
active_sprite.visible = is_active
|
||||
inactive_sprite.visible = not is_active
|
||||
@@ -0,0 +1 @@
|
||||
uid://d1043b8skqr0j
|
||||
@@ -0,0 +1,10 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://b03vje74ld8ms"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d1043b8skqr0j" path="res://game/menu/map_indicators/absctact_passage_indicator.gd" id="1_c886g"]
|
||||
|
||||
[node name="AbsctactPassageIndicator" type="Node2D"]
|
||||
script = ExtResource("1_c886g")
|
||||
|
||||
[node name="ActiveSprite" type="Sprite2D" parent="."]
|
||||
|
||||
[node name="InactiveSprite" type="Sprite2D" parent="."]
|
||||
@@ -0,0 +1,15 @@
|
||||
class_name AbstractSectorIndicator
|
||||
extends Node2D
|
||||
|
||||
|
||||
@onready var active_sprite : Sprite2D = $ActiveSprite
|
||||
@onready var inactive_sprite : Sprite2D = $InactiveSprite
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
inactive_sprite.hide()
|
||||
|
||||
|
||||
func set_active(is_active: bool) -> void:
|
||||
active_sprite.visible = is_active
|
||||
inactive_sprite.visible = not is_active
|
||||
@@ -0,0 +1 @@
|
||||
uid://br68v5vl7vyd6
|
||||
@@ -0,0 +1,10 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://bofxdki5oelxe"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://br68v5vl7vyd6" path="res://game/menu/map_indicators/abstract_sector_indicator.gd" id="1_mp2r3"]
|
||||
|
||||
[node name="AbstractSectorIndicator" type="Node2D"]
|
||||
script = ExtResource("1_mp2r3")
|
||||
|
||||
[node name="ActiveSprite" type="Sprite2D" parent="."]
|
||||
|
||||
[node name="InactiveSprite" type="Sprite2D" parent="."]
|
||||
@@ -0,0 +1,12 @@
|
||||
class_name CurrentSectorIndicator
|
||||
extends Node2D
|
||||
|
||||
|
||||
const ANIMATION = "animation"
|
||||
|
||||
|
||||
@onready var sprite : AnimatedSprite2D = $AnimatedSprite2D
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
sprite.play(ANIMATION)
|
||||
@@ -0,0 +1 @@
|
||||
uid://yf2bef674enx
|
||||
@@ -0,0 +1,76 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://b8qwok6v44la"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://yf2bef674enx" path="res://game/menu/map_indicators/current_sector_indicator.gd" id="1_7irmv"]
|
||||
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_l75qw"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_uvh02"]
|
||||
atlas = ExtResource("2_l75qw")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ae7s5"]
|
||||
atlas = ExtResource("2_l75qw")
|
||||
region = Rect2(16, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_n55qr"]
|
||||
atlas = ExtResource("2_l75qw")
|
||||
region = Rect2(32, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_h4hjk"]
|
||||
atlas = ExtResource("2_l75qw")
|
||||
region = Rect2(48, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7neat"]
|
||||
atlas = ExtResource("2_l75qw")
|
||||
region = Rect2(64, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vo826"]
|
||||
atlas = ExtResource("2_l75qw")
|
||||
region = Rect2(80, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5ynnd"]
|
||||
atlas = ExtResource("2_l75qw")
|
||||
region = Rect2(96, 0, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0qk8c"]
|
||||
atlas = ExtResource("2_l75qw")
|
||||
region = Rect2(112, 0, 16, 16)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_2biry"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 25.0,
|
||||
"texture": SubResource("AtlasTexture_uvh02")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ae7s5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_n55qr")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_h4hjk")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_7neat")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_vo826")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5ynnd")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_0qk8c")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"animation",
|
||||
"speed": 10.0
|
||||
}]
|
||||
|
||||
[node name="CurrentSectorIndicator" type="Node2D"]
|
||||
script = ExtResource("1_7irmv")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_2biry")
|
||||
animation = &"animation"
|
||||
frame_progress = 0.8128894
|
||||
@@ -0,0 +1,22 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://befadmr5b8mij"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b03vje74ld8ms" path="res://game/menu/map_indicators/absctact_passage_indicator.tscn" id="1_6yx0l"]
|
||||
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_ihw22"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_dencp"]
|
||||
atlas = ExtResource("2_ihw22")
|
||||
region = Rect2(80, 64, 80, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3eblp"]
|
||||
atlas = ExtResource("2_ihw22")
|
||||
region = Rect2(240, 64, 80, 48)
|
||||
|
||||
[node name="PassageIndicatorMinus26Grad" instance=ExtResource("1_6yx0l")]
|
||||
|
||||
[node name="ActiveSprite" parent="." index="0"]
|
||||
position = Vector2(32, -16)
|
||||
texture = SubResource("AtlasTexture_dencp")
|
||||
|
||||
[node name="InactiveSprite" parent="." index="1"]
|
||||
position = Vector2(32, -16)
|
||||
texture = SubResource("AtlasTexture_3eblp")
|
||||
@@ -0,0 +1,22 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://6wh5paopwa6m"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b03vje74ld8ms" path="res://game/menu/map_indicators/absctact_passage_indicator.tscn" id="1_ejr0u"]
|
||||
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_o52wh"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_auxhg"]
|
||||
atlas = ExtResource("2_o52wh")
|
||||
region = Rect2(80, 112, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8xe3k"]
|
||||
atlas = ExtResource("2_o52wh")
|
||||
region = Rect2(240, 112, 80, 80)
|
||||
|
||||
[node name="PassageIndicatorMinus45Grad" instance=ExtResource("1_ejr0u")]
|
||||
|
||||
[node name="ActiveSprite" parent="." index="0"]
|
||||
position = Vector2(32, -32)
|
||||
texture = SubResource("AtlasTexture_auxhg")
|
||||
|
||||
[node name="InactiveSprite" parent="." index="1"]
|
||||
position = Vector2(32, -32)
|
||||
texture = SubResource("AtlasTexture_8xe3k")
|
||||
@@ -0,0 +1,22 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://chtid8advqc7c"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b03vje74ld8ms" path="res://game/menu/map_indicators/absctact_passage_indicator.tscn" id="1_ke7h2"]
|
||||
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_ugcaf"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_o7a4k"]
|
||||
atlas = ExtResource("2_ugcaf")
|
||||
region = Rect2(0, 64, 80, 48)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ghd4p"]
|
||||
atlas = ExtResource("2_ugcaf")
|
||||
region = Rect2(160, 64, 80, 48)
|
||||
|
||||
[node name="PassageIndicator26Grad" instance=ExtResource("1_ke7h2")]
|
||||
|
||||
[node name="ActiveSprite" parent="." index="0"]
|
||||
position = Vector2(32, 16)
|
||||
texture = SubResource("AtlasTexture_o7a4k")
|
||||
|
||||
[node name="InactiveSprite" parent="." index="1"]
|
||||
position = Vector2(32, 16)
|
||||
texture = SubResource("AtlasTexture_ghd4p")
|
||||
@@ -0,0 +1,22 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dv68sytyj5bd3"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b03vje74ld8ms" path="res://game/menu/map_indicators/absctact_passage_indicator.tscn" id="1_nk4h4"]
|
||||
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_qtofm"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1wcf5"]
|
||||
atlas = ExtResource("2_qtofm")
|
||||
region = Rect2(0, 112, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_lqbnh"]
|
||||
atlas = ExtResource("2_qtofm")
|
||||
region = Rect2(160, 112, 80, 80)
|
||||
|
||||
[node name="PassageIndicator45Grad" instance=ExtResource("1_nk4h4")]
|
||||
|
||||
[node name="ActiveSprite" parent="." index="0"]
|
||||
position = Vector2(32, 32)
|
||||
texture = SubResource("AtlasTexture_1wcf5")
|
||||
|
||||
[node name="InactiveSprite" parent="." index="1"]
|
||||
position = Vector2(32, 32)
|
||||
texture = SubResource("AtlasTexture_lqbnh")
|
||||
@@ -0,0 +1,22 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://d24hqpbq2yqfn"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b03vje74ld8ms" path="res://game/menu/map_indicators/absctact_passage_indicator.tscn" id="1_q65pt"]
|
||||
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_4t74o"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_f73ej"]
|
||||
atlas = ExtResource("2_4t74o")
|
||||
region = Rect2(0, 48, 80, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_b8pmf"]
|
||||
atlas = ExtResource("2_4t74o")
|
||||
region = Rect2(160, 48, 80, 16)
|
||||
|
||||
[node name="PassageIndicator0Grad" instance=ExtResource("1_q65pt")]
|
||||
|
||||
[node name="ActiveSprite" parent="." index="0"]
|
||||
position = Vector2(32, 0)
|
||||
texture = SubResource("AtlasTexture_f73ej")
|
||||
|
||||
[node name="InactiveSprite" parent="." index="1"]
|
||||
position = Vector2(32, 0)
|
||||
texture = SubResource("AtlasTexture_b8pmf")
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cf5487fdaju3h"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bofxdki5oelxe" path="res://game/menu/map_indicators/abstract_sector_indicator.tscn" id="1_qx624"]
|
||||
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_t7m7p"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qx624"]
|
||||
atlas = ExtResource("2_t7m7p")
|
||||
region = Rect2(144, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_t7m7p"]
|
||||
atlas = ExtResource("2_t7m7p")
|
||||
region = Rect2(304, 48, 16, 16)
|
||||
|
||||
[node name="BossSectorIndicator" instance=ExtResource("1_qx624")]
|
||||
|
||||
[node name="ActiveSprite" parent="." index="0"]
|
||||
texture = SubResource("AtlasTexture_qx624")
|
||||
|
||||
[node name="InactiveSprite" parent="." index="1"]
|
||||
texture = SubResource("AtlasTexture_t7m7p")
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dysw7f3fxxdgg"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bofxdki5oelxe" path="res://game/menu/map_indicators/abstract_sector_indicator.tscn" id="1_1il3o"]
|
||||
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_yiddm"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1il3o"]
|
||||
atlas = ExtResource("2_yiddm")
|
||||
region = Rect2(96, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_yiddm"]
|
||||
atlas = ExtResource("2_yiddm")
|
||||
region = Rect2(256, 48, 16, 16)
|
||||
|
||||
[node name="DebrisSectorIndicator" instance=ExtResource("1_1il3o")]
|
||||
|
||||
[node name="ActiveSprite" parent="." index="0"]
|
||||
texture = SubResource("AtlasTexture_1il3o")
|
||||
|
||||
[node name="InactiveSprite" parent="." index="1"]
|
||||
texture = SubResource("AtlasTexture_yiddm")
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://c7d6jylti6bea"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bofxdki5oelxe" path="res://game/menu/map_indicators/abstract_sector_indicator.tscn" id="1_5phms"]
|
||||
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_e1mcs"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5phms"]
|
||||
atlas = ExtResource("2_e1mcs")
|
||||
region = Rect2(128, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_e1mcs"]
|
||||
atlas = ExtResource("2_e1mcs")
|
||||
region = Rect2(288, 48, 16, 16)
|
||||
|
||||
[node name="RepairSectorIndicator" instance=ExtResource("1_5phms")]
|
||||
|
||||
[node name="ActiveSprite" parent="." index="0"]
|
||||
texture = SubResource("AtlasTexture_5phms")
|
||||
|
||||
[node name="InactiveSprite" parent="." index="1"]
|
||||
texture = SubResource("AtlasTexture_e1mcs")
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://webm7iahkjgh"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bofxdki5oelxe" path="res://game/menu/map_indicators/abstract_sector_indicator.tscn" id="1_4uu3o"]
|
||||
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_j10ah"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_4uu3o"]
|
||||
atlas = ExtResource("2_j10ah")
|
||||
region = Rect2(112, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_j10ah"]
|
||||
atlas = ExtResource("2_j10ah")
|
||||
region = Rect2(272, 48, 16, 16)
|
||||
|
||||
[node name="ShopSectorIndicator" instance=ExtResource("1_4uu3o")]
|
||||
|
||||
[node name="ActiveSprite" parent="." index="0"]
|
||||
texture = SubResource("AtlasTexture_4uu3o")
|
||||
|
||||
[node name="InactiveSprite" parent="." index="1"]
|
||||
texture = SubResource("AtlasTexture_j10ah")
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://g05q5dxwktr8"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bofxdki5oelxe" path="res://game/menu/map_indicators/abstract_sector_indicator.tscn" id="1_glpdm"]
|
||||
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_37krw"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_glpdm"]
|
||||
atlas = ExtResource("2_37krw")
|
||||
region = Rect2(80, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_37krw"]
|
||||
atlas = ExtResource("2_37krw")
|
||||
region = Rect2(80, 48, 16, 16)
|
||||
|
||||
[node name="StartSectorIndicator" instance=ExtResource("1_glpdm")]
|
||||
|
||||
[node name="ActiveSprite" parent="." index="0"]
|
||||
texture = SubResource("AtlasTexture_glpdm")
|
||||
|
||||
[node name="InactiveSprite" parent="." index="1"]
|
||||
texture = SubResource("AtlasTexture_37krw")
|
||||
@@ -0,0 +1,20 @@
|
||||
class_name SelectedSectorIndicator
|
||||
extends Node2D
|
||||
|
||||
|
||||
const ANIMATION = "animation"
|
||||
|
||||
|
||||
@onready var active_sprite : AnimatedSprite2D = $ActiveSprite
|
||||
@onready var inactive_sprite : AnimatedSprite2D = $InactiveSprite
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
active_sprite.play(ANIMATION)
|
||||
inactive_sprite.play(ANIMATION)
|
||||
inactive_sprite.hide()
|
||||
|
||||
|
||||
func set_active(is_active: bool) -> void:
|
||||
active_sprite.visible = is_active
|
||||
inactive_sprite.visible = not is_active
|
||||
@@ -0,0 +1 @@
|
||||
uid://d3eqb5341h7y0
|
||||
@@ -0,0 +1,87 @@
|
||||
[gd_scene load_steps=13 format=3 uid="uid://bwru7i7xetjth"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d3eqb5341h7y0" path="res://game/menu/map_indicators/selected_sector_indicator.gd" id="1_06a3o"]
|
||||
[ext_resource type="Texture2D" uid="uid://orutjsnhhruf" path="res://images/menu/map.png" id="2_485wc"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_eud2k"]
|
||||
atlas = ExtResource("2_485wc")
|
||||
region = Rect2(0, 16, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_m1mdo"]
|
||||
atlas = ExtResource("2_485wc")
|
||||
region = Rect2(32, 16, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_84eqk"]
|
||||
atlas = ExtResource("2_485wc")
|
||||
region = Rect2(64, 16, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5un7b"]
|
||||
atlas = ExtResource("2_485wc")
|
||||
region = Rect2(96, 16, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_5e44l"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 25.0,
|
||||
"texture": SubResource("AtlasTexture_eud2k")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_m1mdo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_84eqk")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5un7b")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"animation",
|
||||
"speed": 10.0
|
||||
}]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_k4cjf"]
|
||||
atlas = ExtResource("2_485wc")
|
||||
region = Rect2(160, 16, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7sd5s"]
|
||||
atlas = ExtResource("2_485wc")
|
||||
region = Rect2(192, 16, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_knx1i"]
|
||||
atlas = ExtResource("2_485wc")
|
||||
region = Rect2(224, 16, 32, 32)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ii6pb"]
|
||||
atlas = ExtResource("2_485wc")
|
||||
region = Rect2(256, 16, 32, 32)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_ulua7"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 25.0,
|
||||
"texture": SubResource("AtlasTexture_k4cjf")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_7sd5s")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_knx1i")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ii6pb")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"animation",
|
||||
"speed": 10.0
|
||||
}]
|
||||
|
||||
[node name="SelectedSectorIndicator" type="Node2D"]
|
||||
script = ExtResource("1_06a3o")
|
||||
|
||||
[node name="ActiveSprite" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_5e44l")
|
||||
animation = &"animation"
|
||||
|
||||
[node name="InactiveSprite" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_ulua7")
|
||||
animation = &"animation"
|
||||
Reference in New Issue
Block a user