feat: open dragon editor screen
This commit is contained in:
parent
14a883d647
commit
fd8609c0ab
6 changed files with 56 additions and 1 deletions
|
@ -1,9 +1,11 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://ctytpqaed0yqx"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://ctytpqaed0yqx"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://3kyt3shje5r1" path="res://scenes/main.gd" id="1_sugp2"]
|
||||
[ext_resource type="PackedScene" uid="uid://c7nfcgjxqeg7l" path="res://scenes/window/dragon_popup.tscn" id="2_jyhfs"]
|
||||
[ext_resource type="Texture2D" uid="uid://fdqnc2qrrvn1" path="res://assets/sprites/icon.svg" id="3_tbgi4"]
|
||||
[ext_resource type="PackedScene" uid="uid://miutbdsgccd1" path="res://scenes/dragons/dragon.tscn" id="4_jyhfs"]
|
||||
[ext_resource type="Script" uid="uid://cj4l3a6a8ro0r" path="res://scenes/create_button.gd" id="4_tbgi4"]
|
||||
[ext_resource type="PackedScene" uid="uid://fut42ruut302" path="res://scenes/dragon_editor/dragon_editor.tscn" id="5_tefeu"]
|
||||
|
||||
[node name="Base" type="Node2D" node_paths=PackedStringArray("dragon_spots")]
|
||||
script = ExtResource("1_sugp2")
|
||||
|
@ -11,6 +13,21 @@ dragon_template = ExtResource("2_jyhfs")
|
|||
dragon_ingame = ExtResource("4_jyhfs")
|
||||
dragon_spots = [NodePath("DragonSpot1"), NodePath("DragonSpot2"), NodePath("DragonSpot3")]
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="Button" type="Button" parent="CanvasLayer"]
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -157.0
|
||||
offset_top = 50.0
|
||||
offset_right = -57.0
|
||||
offset_bottom = 150.0
|
||||
grow_horizontal = 0
|
||||
text = "crea"
|
||||
script = ExtResource("4_tbgi4")
|
||||
dragon_editor = ExtResource("5_tefeu")
|
||||
|
||||
[node name="Icon" type="Sprite2D" parent="."]
|
||||
position = Vector2(576, 324)
|
||||
scale = Vector2(9, 5.0625)
|
||||
|
@ -24,3 +41,5 @@ position = Vector2(557, 239)
|
|||
|
||||
[node name="DragonSpot3" type="Node2D" parent="."]
|
||||
position = Vector2(850, 360)
|
||||
|
||||
[connection signal="button_up" from="CanvasLayer/Button" to="CanvasLayer/Button" method="_on_button_up"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue