powerup system

This commit is contained in:
zoe 2021-10-05 21:55:34 +02:00
parent c8747328cf
commit 77ca16be36
149 changed files with 2472 additions and 331 deletions

View file

@ -1,12 +1,19 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Menu/LevelInfo.gd" type="Script" id=1]
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=2]
[ext_resource path="res://Menu/XPLabel.gd" type="Script" id=3]
[ext_resource path="res://Menu/Buttons/PlayButton.tscn" type="PackedScene" id=6]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.847059, 0.74902, 0.847059, 1 )
[sub_resource type="InputEventAction" id=2]
action = "ui_accept"
[sub_resource type="ShortCut" id=3]
shortcut = SubResource( 2 )
[node name="LevelInfo" type="PanelContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
@ -23,26 +30,19 @@ margin_bottom = 216.0
[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer"]
margin_left = 133.0
margin_top = 88.0
margin_top = 59.0
margin_right = 250.0
margin_bottom = 128.0
alignment = 1
margin_bottom = 157.0
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/HBoxContainer"]
margin_right = 117.0
margin_bottom = 40.0
alignment = 1
margin_bottom = 98.0
[node name="ScoreLabel" type="Label" parent="CenterContainer/HBoxContainer/VBoxContainer"]
[node name="XPLabel" type="Label" parent="CenterContainer/HBoxContainer/VBoxContainer"]
margin_right = 117.0
margin_bottom = 18.0
theme = ExtResource( 2 )
text = "high score"
align = 2
valign = 3
__meta__ = {
"_edit_use_anchors_": false
}
text = "XP: "
script = ExtResource( 3 )
[node name="StageName" type="Label" parent="CenterContainer/HBoxContainer/VBoxContainer"]
margin_top = 22.0
@ -50,16 +50,27 @@ margin_right = 117.0
margin_bottom = 40.0
theme = ExtResource( 2 )
text = "select stage"
align = 2
valign = 3
[node name="PlayButton" parent="CenterContainer/HBoxContainer" instance=ExtResource( 6 )]
visible = false
[node name="ScoreLabel" type="Label" parent="CenterContainer/HBoxContainer/VBoxContainer"]
margin_top = 44.0
margin_right = 117.0
margin_bottom = 62.0
theme = ExtResource( 2 )
text = "high score"
valign = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PlayButton" parent="CenterContainer/HBoxContainer/VBoxContainer" instance=ExtResource( 6 )]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 121.0
margin_top = 0.0
margin_right = 153.0
margin_bottom = 32.0
margin_left = 0.0
margin_top = 66.0
margin_right = 32.0
margin_bottom = 98.0
shortcut_in_tooltip = false
shortcut = SubResource( 3 )