1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-05-05 13:34:48 -04:00
dressupzack/scenes/game.tscn
2021-11-06 20:08:11 -04:00

130 lines
4.3 KiB
Text

[gd_scene load_steps=15 format=2]
[ext_resource path="res://scenes/Character.tscn" type="PackedScene" id=1]
[ext_resource path="res://sprites/world/background.svg" type="Texture" id=2]
[ext_resource path="res://sprites/symbols/trash.svg" type="Texture" id=3]
[ext_resource path="res://scenes/wardrobe.tscn" type="PackedScene" id=4]
[ext_resource path="res://sprites/clothes/icrazy_frame.svg" type="Texture" id=5]
[ext_resource path="res://sprites/clothes/lights.png" type="Texture" id=6]
[ext_resource path="res://sprites/symbols/file-upload.svg" type="Texture" id=7]
[ext_resource path="res://scripts/interface.gd" type="Script" id=8]
[ext_resource path="res://sprites/symbols/file-download.svg" type="Texture" id=9]
[ext_resource path="res://sprites/symbols/file-upload-disabled.svg" type="Texture" id=10]
[ext_resource path="res://sprites/symbols/file-download-disabled.svg" type="Texture" id=11]
[ext_resource path="res://sprites/symbols/spinner.svg" type="Texture" id=12]
[ext_resource path="res://scripts/spinner.gd" type="Script" id=13]
[ext_resource path="res://scenes/NewsWin.tscn" type="PackedScene" id=16]
[node name="Game" type="Node2D"]
[node name="Background" type="Sprite" parent="."]
position = Vector2( 504.046, 202.426 )
texture = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true
}
[node name="PictureFrame" type="Sprite" parent="."]
position = Vector2( 127.602, 111.895 )
texture = ExtResource( 5 )
__meta__ = {
"_edit_group_": true
}
[node name="Light" type="Light2D" parent="PictureFrame"]
position = Vector2( 35.118, -14.56 )
texture = ExtResource( 6 )
[node name="Character" parent="." instance=ExtResource( 1 )]
position = Vector2( 141.307, 225.012 )
[node name="Controls" type="CanvasLayer" parent="."]
[node name="Container" type="Control" parent="Controls"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 8 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": true
}
version = "1.11"
[node name="Wardrobe" parent="Controls/Container" instance=ExtResource( 4 )]
anchor_left = 0.33875
anchor_top = 0.054
anchor_right = 1.05
anchor_bottom = 0.9
margin_right = 6.10352e-05
[node name="Spinner" type="TextureRect" parent="Controls/Container"]
visible = false
anchor_left = 0.945785
anchor_top = 0.153026
anchor_right = 0.985785
anchor_bottom = 0.217026
texture = ExtResource( 12 )
script = ExtResource( 13 )
__meta__ = {
"_edit_use_anchors_": true
}
[node name="Timer" type="Timer" parent="Controls/Container/Spinner"]
wait_time = 2.0
[node name="CenterBtns" type="CenterContainer" parent="Controls/Container"]
anchor_left = 0.35125
anchor_top = 0.78
anchor_right = 0.9925
anchor_bottom = 0.874
__meta__ = {
"_edit_use_anchors_": true
}
[node name="ButtonCtr" type="HBoxContainer" parent="Controls/Container/CenterBtns"]
margin_left = 199.0
margin_top = 7.0
margin_right = 314.0
margin_bottom = 39.0
custom_constants/separation = 20
[node name="ExportBtn" type="TextureButton" parent="Controls/Container/CenterBtns/ButtonCtr"]
margin_right = 25.0
margin_bottom = 32.0
hint_tooltip = "Export"
texture_normal = ExtResource( 7 )
texture_disabled = ExtResource( 10 )
[node name="ImportBtn" type="TextureButton" parent="Controls/Container/CenterBtns/ButtonCtr"]
margin_left = 45.0
margin_right = 70.0
margin_bottom = 32.0
hint_tooltip = "Import"
texture_normal = ExtResource( 9 )
texture_disabled = ExtResource( 11 )
[node name="ClearBtn" type="TextureButton" parent="Controls/Container/CenterBtns/ButtonCtr"]
margin_left = 90.0
margin_right = 115.0
margin_bottom = 32.0
hint_tooltip = "Clear"
texture_normal = ExtResource( 3 )
[node name="VersionLbl" type="Label" parent="Controls/Container"]
anchor_left = 0.88125
anchor_top = 0.944
anchor_right = 0.9825
anchor_bottom = 0.984
text = "0.0.0"
align = 2
valign = 3
__meta__ = {
"_edit_use_anchors_": true
}
[node name="NewsWin" parent="Controls/Container" instance=ExtResource( 16 )]
[connection signal="timeout" from="Controls/Container/Spinner/Timer" to="Controls/Container/Spinner" method="_on_Timer_timeout"]
[connection signal="pressed" from="Controls/Container/CenterBtns/ButtonCtr/ExportBtn" to="Character" method="_on_SaveBtn_pressed"]
[connection signal="pressed" from="Controls/Container/CenterBtns/ButtonCtr/ImportBtn" to="Character" method="_on_LoadBtn_pressed"]
[connection signal="pressed" from="Controls/Container/CenterBtns/ButtonCtr/ClearBtn" to="Character" method="_on_clearBtn_pressed"]