fix wave start
This commit is contained in:
parent
3d6a18c21e
commit
0916a18769
4 changed files with 5 additions and 6 deletions
2
main.gd
2
main.gd
|
@ -5,7 +5,7 @@ var config = ConfigFile.new()
|
|||
func _init():
|
||||
|
||||
if OS.is_debug_build():
|
||||
Engine.set_time_scale(0.75)
|
||||
Engine.set_time_scale(1)
|
||||
|
||||
if config.load("user://settings.cfg") == OK:
|
||||
var player = load(config.get_value("gameplay", "class", "res://player-row.tscn")).instantiate()
|
||||
|
|
|
@ -12,12 +12,12 @@
|
|||
[ext_resource type="Texture2D" uid="uid://yvrhlh04k8w1" path="res://background space.png" id="6_yg4g1"]
|
||||
[ext_resource type="Script" path="res://wave_enemy.gd" id="7_54h7d"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwquv3mq5kk1d" path="res://countdown-spritesheet.png" id="8_e1eub"]
|
||||
[ext_resource type="Resource" uid="uid://ba01r62bwm6av" path="res://eptagon_enemy.tres" id="9_q67ak"]
|
||||
[ext_resource type="Resource" uid="uid://dd8me0deake37" path="res://eptagon_enemy.tres" id="9_q67ak"]
|
||||
[ext_resource type="Resource" uid="uid://c805aej5v7cvr" path="res://eart.tres" id="10_jib8h"]
|
||||
[ext_resource type="AudioStream" uid="uid://dn65uapn0wsok" path="res://impactMetal_002.ogg" id="11_acuni"]
|
||||
[ext_resource type="Script" path="res://CollisionCheck.gd" id="11_ryeyk"]
|
||||
[ext_resource type="FontFile" uid="uid://bnguin7bsyx6e" path="res://Kenney Future.ttf" id="11_s4q6p"]
|
||||
[ext_resource type="Texture2D" uid="uid://cso5ufbf7u7oj" path="res://Circle.png" id="13_318fy"]
|
||||
[ext_resource type="Texture2D" uid="uid://bvpoajwx0yw3y" path="res://Circle.png" id="13_318fy"]
|
||||
[ext_resource type="Script" path="res://Notification.gd" id="13_lkv81"]
|
||||
[ext_resource type="Script" path="res://Stopwatch.gd" id="13_xhnp2"]
|
||||
[ext_resource type="Script" path="res://Leaderboard.gd" id="14_v1elq"]
|
||||
|
@ -694,7 +694,6 @@ script = ExtResource("1_3dydx")
|
|||
script = ExtResource("1_ifu8g")
|
||||
waves = Array[ExtResource("4_um0x7")]([SubResource("Resource_ur7l5"), SubResource("Resource_kupyp"), SubResource("Resource_o8cet"), SubResource("Resource_0cevq"), SubResource("Resource_eppj0"), SubResource("Resource_rpu1y"), SubResource("Resource_4b1vo"), SubResource("Resource_gg7kj"), SubResource("Resource_fjkob"), SubResource("Resource_5sdy5"), SubResource("Resource_61v84"), SubResource("Resource_82qld"), SubResource("Resource_2j32b"), SubResource("Resource_viqo8"), SubResource("Resource_o3j5s"), SubResource("Resource_cygv1")])
|
||||
wave_label = NodePath("../UI/Wave Count")
|
||||
start_wave = 15
|
||||
|
||||
[node name="Timer" type="Timer" parent="Spawner"]
|
||||
wait_time = 0.1
|
||||
|
|
|
@ -323,8 +323,8 @@ bus = &"Music"
|
|||
[connection signal="pressed" from="Layout/Play" to="." method="play"]
|
||||
[connection signal="pressed" from="Layout/Settings" to="Settings Panel" method="show"]
|
||||
[connection signal="pressed" from="Layout/Tutorial" to="Tutorial Text" method="show"]
|
||||
[connection signal="pressed" from="Settings Panel/Close" to="Settings Panel" method="hide"]
|
||||
[connection signal="pressed" from="Settings Panel/Close" to="Settings Panel" method="save"]
|
||||
[connection signal="pressed" from="Settings Panel/Close" to="Settings Panel" method="hide"]
|
||||
[connection signal="text_changed" from="Settings Panel/Menu/Username" to="Settings Panel" method="check_valid"]
|
||||
[connection signal="text_changed" from="Settings Panel/Menu/Username" to="Settings Panel/Menu/Username" method="check"]
|
||||
[connection signal="value_changed" from="Settings Panel/Menu/MusicVolume" to="Settings Panel/Menu/MusicVolume" method="_on_value_changed"]
|
||||
|
|
|
@ -55,8 +55,8 @@ radius = 30.0
|
|||
collision_layer = 2
|
||||
physics_material_override = SubResource("PhysicsMaterial_xnhwp")
|
||||
gravity_scale = 1.66533e-16
|
||||
max_contacts_reported = 1
|
||||
contact_monitor = true
|
||||
max_contacts_reported = 1
|
||||
linear_velocity = Vector2(2.08165e-12, 2.08165e-12)
|
||||
script = ExtResource("1_dsvm1")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue