mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
58 lines
1.9 KiB
Text
58 lines
1.9 KiB
Text
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=1]
|
|
[ext_resource path="res://icon.png" type="Texture" id=2]
|
|
[ext_resource path="res://Pegs/Yellow/CardIcons/default3.png" type="Texture" id=3]
|
|
[ext_resource path="res://Pegs/Yellow/CardIcons/default2.png" type="Texture" id=4]
|
|
[ext_resource path="res://Pegs/Yellow/CardIcons/default.png" type="Texture" id=5]
|
|
[ext_resource path="res://Pegs/Yellow/PowerupCard.gd" type="Script" id=6]
|
|
[ext_resource path="res://Menu/Buttons/ButtonSFX.tscn" type="PackedScene" id=7]
|
|
|
|
[sub_resource type="Animation" id=1]
|
|
resource_name = "Show"
|
|
length = 0.5
|
|
step = 0.05
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath(".:rect_rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0, 0.05, 0.15, 0.5 ),
|
|
"transitions": PoolRealArray( 1, 1, 1, 1 ),
|
|
"update": 0,
|
|
"values": [ 0.0, 34.3, -10.0, 0.0 ]
|
|
}
|
|
|
|
[node name="TextureButton" type="TextureButton"]
|
|
anchor_right = 0.167
|
|
anchor_bottom = 0.296
|
|
margin_right = -0.127998
|
|
margin_bottom = 0.0639992
|
|
rect_min_size = Vector2( 64, 0 )
|
|
hint_tooltip = "a powerup!!!"
|
|
theme = ExtResource( 1 )
|
|
shortcut_in_tooltip = false
|
|
texture_normal = ExtResource( 5 )
|
|
texture_pressed = ExtResource( 4 )
|
|
texture_hover = ExtResource( 3 )
|
|
stretch_mode = 3
|
|
script = ExtResource( 6 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
position = Vector2( 32, 32 )
|
|
texture = ExtResource( 2 )
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
anims/Show = SubResource( 1 )
|
|
|
|
[node name="ButtonSFX" parent="." instance=ExtResource( 7 )]
|
|
|
|
[connection signal="focus_entered" from="." to="ButtonSFX" method="on_hover"]
|
|
[connection signal="mouse_entered" from="." to="ButtonSFX" method="on_hover"]
|
|
[connection signal="pressed" from="." to="." method="_on_TextureButton_pressed"]
|
|
[connection signal="pressed" from="." to="ButtonSFX" method="on_select"]
|