player progress

This commit is contained in:
Rendo 2025-07-21 02:13:02 +05:00
commit 27d839b86f
27 changed files with 236 additions and 68 deletions

View file

@ -20,7 +20,7 @@ tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
"values": [Color(1, 1, 0.921569, 1)]
}
[sub_resource type="Animation" id="Animation_mbhdb"]
@ -136,6 +136,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(1, 1, 0.921569, 1)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=42 format=3 uid="uid://dd3yegl1xo44m"]
[gd_scene load_steps=43 format=3 uid="uid://dd3yegl1xo44m"]
[ext_resource type="Script" uid="uid://bndu1h5kgcde8" path="res://scripts/level/RuntimeLevelData.cs" id="1_31ltw"]
[ext_resource type="Script" uid="uid://bso32xkw738sy" path="res://scripts/level/PoolContainer.cs" id="2_s5sti"]
@ -24,6 +24,7 @@
[ext_resource type="Script" uid="uid://1lkhoh43h86m" path="res://scripts/level/GameTimer.cs" id="19_s7icd"]
[ext_resource type="Script" uid="uid://84gvlkflxdhk" path="res://scripts/level/zombe_spawners/RowSpawner.cs" id="22_8qqc4"]
[ext_resource type="Script" uid="uid://puqxp2xeg1r2" path="res://scripts/level/LevelRunner.cs" id="23_8vb7v"]
[ext_resource type="Resource" uid="uid://kqqqjubwm37a" path="res://assets/rewards/DefaultReward.tres" id="24_7v6ps"]
[ext_resource type="Script" uid="uid://bc3s06ejbotma" path="res://scripts/gui/ZombieLevelPreviewer.cs" id="24_y5tw7"]
[ext_resource type="Script" uid="uid://b31mnk4enldc4" path="res://scripts/level/InitialPackedSceneSpawner.cs" id="26_i7rp7"]
@ -425,7 +426,7 @@ tracks/0/path = NodePath("WinFade:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 4, 5),
"times": PackedFloat32Array(0, 3, 5),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Color(1, 1, 0.92, 0), Color(1, 1, 0.92, 0), Color(1, 1, 0.92, 1)]
@ -704,6 +705,7 @@ wait_time = 2.5
[node name="LevelRunner" type="Node" parent="." node_paths=PackedStringArray("rowSpawner", "waveTimer", "player", "rewardParent")]
script = ExtResource("23_8vb7v")
defaultReward = ExtResource("24_7v6ps")
rowSpawner = NodePath("../RowSpawner")
waveTimer = NodePath("WaveTimer")
approachNotificationTime = 5.0

View file

@ -0,0 +1,16 @@
[gd_scene load_steps=4 format=3 uid="uid://3x821ng2yf57"]
[ext_resource type="Script" uid="uid://cwf2y3pxi6psc" path="res://scripts/droppable-items/DroppableItem.cs" id="1_jgexe"]
[ext_resource type="Texture2D" uid="uid://c3qw52yoseb1k" path="res://assets/sprites/money_bag.tres" id="1_wewwq"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wewwq"]
size = Vector2(46, 50)
[node name="MoneyReward" type="Area2D"]
script = ExtResource("1_jgexe")
[node name="MoneyBag" type="Sprite2D" parent="."]
texture = ExtResource("1_wewwq")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_wewwq")