123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- [gd_scene load_steps=23 format=2]
- [ext_resource path="res://ui/TouchScreenButton.gd" type="Script" id=1]
- [ext_resource path="res://icon.png" type="Texture" id=2]
- [ext_resource path="res://sounds/sfx1.ogg" type="AudioStream" id=3]
- [ext_resource path="res://newdynamicfont.tres" type="DynamicFont" id=4]
- [ext_resource path="res://sounds/sfx2.ogg" type="AudioStream" id=5]
- [ext_resource path="res://sprite/symbols/icons/health.PNG" type="Texture" id=6]
- [ext_resource path="res://sprite/symbols/icons/speed.PNG" type="Texture" id=7]
- [ext_resource path="res://sprite/symbols/icons/swordred.PNG" type="Texture" id=8]
- [ext_resource path="res://sprite/symbols/icons/range.PNG" type="Texture" id=9]
- [ext_resource path="res://sprite/symbols/icons/icons/2Estrelas.PNG" type="Texture" id=10]
- [ext_resource path="res://sprite/symbols/icons/icons/5Estrelas.PNG" type="Texture" id=11]
- [ext_resource path="res://sprite/symbols/icons/icons/6Estrelas.PNG" type="Texture" id=12]
- [ext_resource path="res://sprite/symbols/icons/icons/7Estrelas.PNG" type="Texture" id=13]
- [ext_resource path="res://sprite/symbols/icons/starbase.PNG" type="Texture" id=14]
- [ext_resource path="res://sprite/symbols/icons/attackspeed.png" type="Texture" id=15]
- [ext_resource path="res://sprite/symbols/icons/swordpurple.PNG" type="Texture" id=16]
- [ext_resource path="res://sprite/symbols/icons/icons/8Estrelas.PNG" type="Texture" id=17]
- [ext_resource path="res://sprite/symbols/icons/icons/4Estrelas.PNG" type="Texture" id=18]
- [ext_resource path="res://sprite/symbols/icons/icons/3Estrelas.PNG" type="Texture" id=19]
- [ext_resource path="res://sprite/symbols/icons/icons/1Estrela.PNG" type="Texture" id=20]
- [sub_resource type="SpriteFrames" id=2]
- animations = [ {
- "frames": [ ExtResource( 6 ), ExtResource( 9 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 16 ), ExtResource( 15 ) ],
- "loop": true,
- "name": "default",
- "speed": 5.0
- }, {
- "frames": [ ExtResource( 20 ), ExtResource( 10 ), ExtResource( 19 ), ExtResource( 18 ), ExtResource( 11 ), ExtResource( 12 ), ExtResource( 13 ), ExtResource( 17 ) ],
- "loop": true,
- "name": "stars",
- "speed": 5.0
- }, {
- "frames": [ ExtResource( 14 ) ],
- "loop": true,
- "name": "starbase",
- "speed": 5.0
- } ]
- [sub_resource type="RectangleShape2D" id=1]
- [node name="Button" type="TouchScreenButton"]
- normal = ExtResource( 2 )
- script = ExtResource( 1 )
- [node name="Button" type="Button" parent="."]
- margin_right = 63.0
- margin_bottom = 66.0
- flat = true
- [node name="Label" type="Label" parent="."]
- margin_left = -275.0
- margin_top = 2.0
- margin_right = -6.0
- margin_bottom = 62.0
- custom_fonts/font = ExtResource( 4 )
- text = "stuff"
- align = 1
- valign = 2
- [node name="Label" type="Label" parent="Label"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- custom_fonts/font = ExtResource( 4 )
- align = 1
- autowrap = true
- [node name="ColorRect" type="ColorRect" parent="Label"]
- show_behind_parent = true
- anchor_right = 1.0
- anchor_bottom = 1.0
- color = Color( 0, 0, 0, 0.321569 )
- [node name="icons" type="Node2D" parent="Label"]
- position = Vector2( 9, 3 )
- scale = Vector2( 0.8, 0.8 )
- [node name="icon1" type="AnimatedSprite" parent="Label/icons"]
- position = Vector2( 27.5, 21.5 )
- frames = SubResource( 2 )
- [node name="starsback" type="AnimatedSprite" parent="Label/icons/icon1"]
- visible = false
- position = Vector2( 51, 0 )
- frames = SubResource( 2 )
- animation = "starbase"
- [node name="stars" type="AnimatedSprite" parent="Label/icons/icon1"]
- position = Vector2( 51, 0 )
- frames = SubResource( 2 )
- animation = "stars"
- [node name="icon2" type="AnimatedSprite" parent="Label/icons"]
- position = Vector2( 134.5, 21.5 )
- frames = SubResource( 2 )
- frame = 1
- [node name="starsback" type="AnimatedSprite" parent="Label/icons/icon2"]
- visible = false
- position = Vector2( 51, 0 )
- frames = SubResource( 2 )
- animation = "starbase"
- [node name="stars" type="AnimatedSprite" parent="Label/icons/icon2"]
- position = Vector2( 51, 0 )
- frames = SubResource( 2 )
- animation = "stars"
- [node name="icon3" type="AnimatedSprite" parent="Label/icons"]
- position = Vector2( 238, 21.5 )
- frames = SubResource( 2 )
- frame = 2
- [node name="starsback" type="AnimatedSprite" parent="Label/icons/icon3"]
- visible = false
- position = Vector2( 51, 0 )
- frames = SubResource( 2 )
- animation = "starbase"
- [node name="stars" type="AnimatedSprite" parent="Label/icons/icon3"]
- position = Vector2( 51, 0 )
- frames = SubResource( 2 )
- animation = "stars"
- [node name="col" type="Area2D" parent="."]
- collision_layer = 0
- collision_mask = 0
- [node name="CollisionShape2D" type="CollisionShape2D" parent="col"]
- position = Vector2( 32, 32 )
- shape = SubResource( 1 )
- [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
- stream = ExtResource( 3 )
- bus = "menu"
- [node name="AudioStreamPlayer2" type="AudioStreamPlayer" parent="."]
- stream = ExtResource( 5 )
- bus = "menu"
- [connection signal="pressed" from="." to="AudioStreamPlayer" method="play"]
- [connection signal="released" from="." to="AudioStreamPlayer2" method="play"]
- [connection signal="mouse_entered" from="Button" to="." method="_on_Button_mouse_entered"]
- [connection signal="mouse_exited" from="Button" to="." method="_on_Button_mouse_exited"]
|