timer
This commit is contained in:
parent
50bbdd9363
commit
ab5c35fca1
4 changed files with 27 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ warnings/check_angle_interpolation_type_conflicting=false
|
||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="Liberation of the Neighbourville"
|
config/name="Liberation of the Neighbourville"
|
||||||
config/version="0.1.5"
|
config/version="0.2.0"
|
||||||
run/main_scene="uid://bfstrli64u23y"
|
run/main_scene="uid://bfstrli64u23y"
|
||||||
config/features=PackedStringArray("4.4", "C#", "Forward Plus")
|
config/features=PackedStringArray("4.4", "C#", "Forward Plus")
|
||||||
config/icon="res://icon.png"
|
config/icon="res://icon.png"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=33 format=3 uid="uid://c1335fke4thpm"]
|
[gd_scene load_steps=34 format=3 uid="uid://c1335fke4thpm"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://bndu1h5kgcde8" path="res://scripts/level/RuntimeLevelData.cs" id="1_tnxdx"]
|
[ext_resource type="Script" uid="uid://bndu1h5kgcde8" path="res://scripts/level/RuntimeLevelData.cs" id="1_tnxdx"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b0tb2hjum40aw" path="res://assets/sprites/background_summer.png" id="1_vafkg"]
|
[ext_resource type="Texture2D" uid="uid://b0tb2hjum40aw" path="res://assets/sprites/background_summer.png" id="1_vafkg"]
|
||||||
|
|
@ -24,6 +24,18 @@
|
||||||
[ext_resource type="Script" uid="uid://812ldoyxd5n5" path="res://scripts/level/LoseCheckbox.cs" id="17_pb02i"]
|
[ext_resource type="Script" uid="uid://812ldoyxd5n5" path="res://scripts/level/LoseCheckbox.cs" id="17_pb02i"]
|
||||||
[ext_resource type="AudioStream" uid="uid://bxshjvvtv3fmp" path="res://assets/audio/music/playlist.tres" id="23_tsy2s"]
|
[ext_resource type="AudioStream" uid="uid://bxshjvvtv3fmp" path="res://assets/audio/music/playlist.tres" id="23_tsy2s"]
|
||||||
|
|
||||||
|
[sub_resource type="GDScript" id="GDScript_tsy2s"]
|
||||||
|
resource_name = "time_label"
|
||||||
|
script/source = "extends Label
|
||||||
|
|
||||||
|
var time : float = 0
|
||||||
|
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
time += delta
|
||||||
|
var itime = int(time)
|
||||||
|
text = \"%02d:%02d:%02d\" % [itime / 3600 ,itime / 60 % 60,itime % 60]
|
||||||
|
"
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_r81g1"]
|
[sub_resource type="Animation" id="Animation_r81g1"]
|
||||||
length = 0.001
|
length = 0.001
|
||||||
tracks/0/type = "value"
|
tracks/0/type = "value"
|
||||||
|
|
@ -244,6 +256,18 @@ metadata/_edit_lock_ = true
|
||||||
[node name="PauseMenu" parent="GUI" instance=ExtResource("7_3ghv7")]
|
[node name="PauseMenu" parent="GUI" instance=ExtResource("7_3ghv7")]
|
||||||
visible = false
|
visible = false
|
||||||
|
|
||||||
|
[node name="TimeLabel" type="Label" parent="GUI"]
|
||||||
|
anchors_preset = 3
|
||||||
|
anchor_left = 1.0
|
||||||
|
anchor_top = 1.0
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
offset_left = -40.0
|
||||||
|
offset_top = -17.0
|
||||||
|
grow_horizontal = 0
|
||||||
|
grow_vertical = 0
|
||||||
|
script = SubResource("GDScript_tsy2s")
|
||||||
|
|
||||||
[node name="GameOverScreen" type="CanvasLayer" parent="."]
|
[node name="GameOverScreen" type="CanvasLayer" parent="."]
|
||||||
process_mode = 3
|
process_mode = 3
|
||||||
layer = 11
|
layer = 11
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ Attack speed: [color=darkred]2.67 Hz[/color].
|
||||||
Attack damage: [color=darkred]1 bite[/color]. ","Носит ведро чтобы защитить остатки мозгов. Равен примерно 7 зомби.
|
Attack damage: [color=darkred]1 bite[/color]. ","Носит ведро чтобы защитить остатки мозгов. Равен примерно 7 зомби.
|
||||||
Очки здоровья: [color=darkred]7 горошин[/color].
|
Очки здоровья: [color=darkred]7 горошин[/color].
|
||||||
Очки брони: [color=darkred]39 горошин[/color].
|
Очки брони: [color=darkred]39 горошин[/color].
|
||||||
Скорость ходьбы: [color=darkred]0.2 клеток/сек/color].
|
Скорость ходьбы: [color=darkred]0.2 клеток/сек[/color].
|
||||||
Скорость атаки: [color=darkred]2.67 Гц[/color].
|
Скорость атаки: [color=darkred]2.67 Гц[/color].
|
||||||
Урон от атаки: [color=darkred]1 укус[/color]."
|
Урон от атаки: [color=darkred]1 укус[/color]."
|
||||||
conehead,Conehead,Конусоголовый
|
conehead,Conehead,Конусоголовый
|
||||||
|
|
|
||||||
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue