diff --git a/project.godot b/project.godot index 9088033..3576068 100644 --- a/project.godot +++ b/project.godot @@ -16,7 +16,7 @@ warnings/check_angle_interpolation_type_conflicting=false [application] config/name="Liberation of the Neighbourville" -config/version="0.1.5" +config/version="0.2.0" run/main_scene="uid://bfstrli64u23y" config/features=PackedStringArray("4.4", "C#", "Forward Plus") config/icon="res://icon.png" diff --git a/scenes/prototype_survival.tscn b/scenes/prototype_survival.tscn index c0f16aa..3c4599f 100644 --- a/scenes/prototype_survival.tscn +++ b/scenes/prototype_survival.tscn @@ -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="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="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"] length = 0.001 tracks/0/type = "value" @@ -244,6 +256,18 @@ metadata/_edit_lock_ = true [node name="PauseMenu" parent="GUI" instance=ExtResource("7_3ghv7")] 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="."] process_mode = 3 layer = 11 diff --git a/translations/zombies.csv b/translations/zombies.csv index f2fe452..fff8191 100644 --- a/translations/zombies.csv +++ b/translations/zombies.csv @@ -18,7 +18,7 @@ Attack speed: [color=darkred]2.67 Hz[/color]. Attack damage: [color=darkred]1 bite[/color]. ","Носит ведро чтобы защитить остатки мозгов. Равен примерно 7 зомби. Очки здоровья: [color=darkred]7 горошин[/color]. Очки брони: [color=darkred]39 горошин[/color]. -Скорость ходьбы: [color=darkred]0.2 клеток/сек/color]. +Скорость ходьбы: [color=darkred]0.2 клеток/сек[/color]. Скорость атаки: [color=darkred]2.67 Гц[/color]. Урон от атаки: [color=darkred]1 укус[/color]." conehead,Conehead,Конусоголовый diff --git a/translations/zombies.ru.translation b/translations/zombies.ru.translation index 60fd75b..8064600 100644 Binary files a/translations/zombies.ru.translation and b/translations/zombies.ru.translation differ