add gitignore
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
|||||||
|
# Godot 4+ specific ignores
|
||||||
|
.godot/
|
||||||
|
.nomedia
|
||||||
|
|
||||||
|
# Godot-specific ignores
|
||||||
|
.import/
|
||||||
|
export.cfg
|
||||||
|
export_credentials.cfg
|
||||||
|
*.tmp
|
||||||
|
|
||||||
|
# Imported translations (automatically generated from CSV files)
|
||||||
|
*.translation
|
||||||
|
|
||||||
|
# Mono-specific ignores
|
||||||
|
.mono/
|
||||||
|
data_*/
|
||||||
|
mono_crash.*.json
|
||||||
@@ -1 +0,0 @@
|
|||||||
|
|
||||||
@@ -1,192 +0,0 @@
|
|||||||
[editor_states]
|
|
||||||
|
|
||||||
2D={
|
|
||||||
"grid_offset": Vector2(0, 0),
|
|
||||||
"grid_snap_active": false,
|
|
||||||
"grid_step": Vector2(8, 8),
|
|
||||||
"grid_visibility": 1,
|
|
||||||
"ofs": Vector2(-184, -129),
|
|
||||||
"primary_grid_step": Vector2i(8, 8),
|
|
||||||
"show_group_gizmos": true,
|
|
||||||
"show_guides": true,
|
|
||||||
"show_helpers": false,
|
|
||||||
"show_lock_gizmos": true,
|
|
||||||
"show_origin": true,
|
|
||||||
"show_position_gizmos": true,
|
|
||||||
"show_rulers": true,
|
|
||||||
"show_transformation_gizmos": true,
|
|
||||||
"show_viewport": true,
|
|
||||||
"show_zoom_control": true,
|
|
||||||
"smart_snap_active": false,
|
|
||||||
"snap_guides": true,
|
|
||||||
"snap_node_anchors": true,
|
|
||||||
"snap_node_center": true,
|
|
||||||
"snap_node_parent": true,
|
|
||||||
"snap_node_sides": true,
|
|
||||||
"snap_other_nodes": true,
|
|
||||||
"snap_pixel": true,
|
|
||||||
"snap_relative": false,
|
|
||||||
"snap_rotation": false,
|
|
||||||
"snap_rotation_offset": 0.0,
|
|
||||||
"snap_rotation_step": 0.2617994,
|
|
||||||
"snap_scale": false,
|
|
||||||
"snap_scale_step": 0.1,
|
|
||||||
"zoom": 0.25
|
|
||||||
}
|
|
||||||
3D={
|
|
||||||
"fov": 70.01,
|
|
||||||
"gizmos_status": {
|
|
||||||
"AudioListener3D": 0,
|
|
||||||
"AudioStreamPlayer3D": 0,
|
|
||||||
"CPUParticles3D": 0,
|
|
||||||
"CSGShape3D": 0,
|
|
||||||
"Camera3D": 0,
|
|
||||||
"ChainIK3D": 0,
|
|
||||||
"CollisionObject3D": 0,
|
|
||||||
"CollisionPolygon3D": 0,
|
|
||||||
"CollisionShape3D": 0,
|
|
||||||
"Decal": 0,
|
|
||||||
"FogVolume": 0,
|
|
||||||
"GPUParticles3D": 0,
|
|
||||||
"GPUParticlesCollision3D": 0,
|
|
||||||
"Joint3D": 0,
|
|
||||||
"Light3D": 0,
|
|
||||||
"LightmapGI": 0,
|
|
||||||
"LightmapProbe": 0,
|
|
||||||
"Marker3D": 0,
|
|
||||||
"MeshInstance3DCustomAABB": 0,
|
|
||||||
"NavigationLink3D": 0,
|
|
||||||
"NavigationObstacle3D": 0,
|
|
||||||
"NavigationRegion3D": 0,
|
|
||||||
"OccluderInstance3D": 0,
|
|
||||||
"Particles3DEmissionShape": 0,
|
|
||||||
"Path3D": 0,
|
|
||||||
"PhysicalBone3D": 0,
|
|
||||||
"RayCast3D": 0,
|
|
||||||
"ReflectionProbe": 0,
|
|
||||||
"ShapeCast3D": 0,
|
|
||||||
"Skeleton3D": 0,
|
|
||||||
"SoftBody3D": 0,
|
|
||||||
"SpringArm3D": 0,
|
|
||||||
"SpringBoneCollision3D": 0,
|
|
||||||
"SpringBoneSimulator3D": 0,
|
|
||||||
"TwoBoneIK3D": 0,
|
|
||||||
"VehicleWheel3D": 0,
|
|
||||||
"VisibleOnScreenNotifier3D": 0,
|
|
||||||
"VoxelGI": 0
|
|
||||||
},
|
|
||||||
"local_coords": false,
|
|
||||||
"preview_sun_env": {
|
|
||||||
"environ_ao_enabled": false,
|
|
||||||
"environ_enabled": true,
|
|
||||||
"environ_energy": 1.0,
|
|
||||||
"environ_gi_enabled": false,
|
|
||||||
"environ_glow_enabled": true,
|
|
||||||
"environ_ground_color": Color(0.2, 0.169, 0.133, 1),
|
|
||||||
"environ_sky_color": Color(0.385, 0.454, 0.55, 1),
|
|
||||||
"environ_tonemap_enabled": true,
|
|
||||||
"sun_color": Color(1, 1, 1, 1),
|
|
||||||
"sun_enabled": true,
|
|
||||||
"sun_energy": 1.0,
|
|
||||||
"sun_rotation": Vector2(-1.0471976, 2.6179938),
|
|
||||||
"sun_shadow_max_distance": 100.0
|
|
||||||
},
|
|
||||||
"rotate_snap": 15.0,
|
|
||||||
"scale_snap": 10.0,
|
|
||||||
"show_grid": true,
|
|
||||||
"show_origin": true,
|
|
||||||
"snap_enabled": false,
|
|
||||||
"translate_snap": 1.0,
|
|
||||||
"viewport_mode": 1,
|
|
||||||
"viewports": [{
|
|
||||||
"auto_orthogonal": false,
|
|
||||||
"auto_orthogonal_enabled": true,
|
|
||||||
"cinematic_preview": false,
|
|
||||||
"display_mode": 22,
|
|
||||||
"distance": 4.0,
|
|
||||||
"doppler": false,
|
|
||||||
"frame_time": false,
|
|
||||||
"gizmos": true,
|
|
||||||
"grid": true,
|
|
||||||
"half_res": false,
|
|
||||||
"information": false,
|
|
||||||
"listener": true,
|
|
||||||
"lock_rotation": false,
|
|
||||||
"orthogonal": false,
|
|
||||||
"position": Vector3(0, 0, 0),
|
|
||||||
"transform_gizmo": true,
|
|
||||||
"use_environment": false,
|
|
||||||
"view_type": 0,
|
|
||||||
"x_rotation": 0.5,
|
|
||||||
"y_rotation": -0.5
|
|
||||||
}, {
|
|
||||||
"auto_orthogonal": false,
|
|
||||||
"auto_orthogonal_enabled": true,
|
|
||||||
"cinematic_preview": false,
|
|
||||||
"display_mode": 22,
|
|
||||||
"distance": 4.0,
|
|
||||||
"doppler": false,
|
|
||||||
"frame_time": false,
|
|
||||||
"gizmos": true,
|
|
||||||
"grid": true,
|
|
||||||
"half_res": false,
|
|
||||||
"information": false,
|
|
||||||
"listener": false,
|
|
||||||
"lock_rotation": false,
|
|
||||||
"orthogonal": false,
|
|
||||||
"position": Vector3(0, 0, 0),
|
|
||||||
"transform_gizmo": true,
|
|
||||||
"use_environment": false,
|
|
||||||
"view_type": 0,
|
|
||||||
"x_rotation": 0.5,
|
|
||||||
"y_rotation": -0.5
|
|
||||||
}, {
|
|
||||||
"auto_orthogonal": false,
|
|
||||||
"auto_orthogonal_enabled": true,
|
|
||||||
"cinematic_preview": false,
|
|
||||||
"display_mode": 22,
|
|
||||||
"distance": 4.0,
|
|
||||||
"doppler": false,
|
|
||||||
"frame_time": false,
|
|
||||||
"gizmos": true,
|
|
||||||
"grid": true,
|
|
||||||
"half_res": false,
|
|
||||||
"information": false,
|
|
||||||
"listener": false,
|
|
||||||
"lock_rotation": false,
|
|
||||||
"orthogonal": false,
|
|
||||||
"position": Vector3(0, 0, 0),
|
|
||||||
"transform_gizmo": true,
|
|
||||||
"use_environment": false,
|
|
||||||
"view_type": 0,
|
|
||||||
"x_rotation": 0.5,
|
|
||||||
"y_rotation": -0.5
|
|
||||||
}, {
|
|
||||||
"auto_orthogonal": false,
|
|
||||||
"auto_orthogonal_enabled": true,
|
|
||||||
"cinematic_preview": false,
|
|
||||||
"display_mode": 22,
|
|
||||||
"distance": 4.0,
|
|
||||||
"doppler": false,
|
|
||||||
"frame_time": false,
|
|
||||||
"gizmos": true,
|
|
||||||
"grid": true,
|
|
||||||
"half_res": false,
|
|
||||||
"information": false,
|
|
||||||
"listener": false,
|
|
||||||
"lock_rotation": false,
|
|
||||||
"orthogonal": false,
|
|
||||||
"position": Vector3(0, 0, 0),
|
|
||||||
"transform_gizmo": true,
|
|
||||||
"use_environment": false,
|
|
||||||
"view_type": 0,
|
|
||||||
"x_rotation": 0.5,
|
|
||||||
"y_rotation": -0.5
|
|
||||||
}],
|
|
||||||
"zfar": 4000.01,
|
|
||||||
"znear": 0.05
|
|
||||||
}
|
|
||||||
Anim={
|
|
||||||
"visible": false
|
|
||||||
}
|
|
||||||
selected_nodes=Array[NodePath]([])
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
[folding]
|
|
||||||
|
|
||||||
node_unfolds=[NodePath("."), PackedStringArray("Collision")]
|
|
||||||
resource_unfolds=["res://scenes/Enemy.tscn::StandardMaterial3D_1", PackedStringArray(), "res://scenes/Enemy.tscn::BoxMesh_1", PackedStringArray(), "res://scenes/Enemy.tscn::BoxShape3D_1", PackedStringArray()]
|
|
||||||
nodes_folded=[]
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
[folding]
|
|
||||||
|
|
||||||
sections_unfolded=PackedStringArray()
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
[folding]
|
|
||||||
|
|
||||||
node_unfolds=[NodePath("."), PackedStringArray("Visibility")]
|
|
||||||
resource_unfolds=[]
|
|
||||||
nodes_folded=[]
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
[folding]
|
|
||||||
|
|
||||||
sections_unfolded=PackedStringArray()
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
[folding]
|
|
||||||
|
|
||||||
node_unfolds=[NodePath("."), PackedStringArray("Collision")]
|
|
||||||
resource_unfolds=["res://scenes/Player.tscn::StandardMaterial3D_1", PackedStringArray(), "res://scenes/Player.tscn::CapsuleMesh_1", PackedStringArray(), "res://scenes/Player.tscn::CapsuleShape3D_1", PackedStringArray()]
|
|
||||||
nodes_folded=[]
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
[docks]
|
|
||||||
|
|
||||||
dock_3_selected_tab_idx=0
|
|
||||||
dock_4_selected_tab_idx=0
|
|
||||||
dock_5_selected_tab_idx=0
|
|
||||||
dock_floating={}
|
|
||||||
dock_closed=[]
|
|
||||||
dock_split_2=0
|
|
||||||
dock_split_3=0
|
|
||||||
dock_hsplit_1=0
|
|
||||||
dock_hsplit_2=0
|
|
||||||
dock_hsplit_3=0
|
|
||||||
dock_hsplit_4=0
|
|
||||||
dock_9_selected_tab_idx=0
|
|
||||||
dock_3="Scene,Import"
|
|
||||||
dock_4="FileSystem,History"
|
|
||||||
dock_5="Inspector,Signals,Groups"
|
|
||||||
dock_9="Output,Debugger,Audio,Animation,Shader Editor,Search Results,AnimationTree,ResourcePreloader,ShaderFile,SpriteFrames,Theme,Polygon,TileSet,TileMap,Replication,GridMap"
|
|
||||||
|
|
||||||
[docks/FileSystem]
|
|
||||||
|
|
||||||
h_split_offset=480
|
|
||||||
v_split_offset=0
|
|
||||||
display_mode=0
|
|
||||||
file_sort=0
|
|
||||||
file_list_display_mode=1
|
|
||||||
selected_paths=PackedStringArray("res://scripts/Main.gd")
|
|
||||||
uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://scripts/", "res://scenes/")
|
|
||||||
|
|
||||||
[docks/History]
|
|
||||||
|
|
||||||
include_scene=true
|
|
||||||
include_global=true
|
|
||||||
|
|
||||||
[EditorNode]
|
|
||||||
|
|
||||||
open_scenes=PackedStringArray("res://scenes/Main.tscn", "res://scenes/Enemy.tscn", "res://scenes/Player.tscn")
|
|
||||||
current_scene="res://scenes/Enemy.tscn"
|
|
||||||
bottom_panel_offsets={
|
|
||||||
"Audio": -450,
|
|
||||||
"Debugger": 0,
|
|
||||||
"Output": 0
|
|
||||||
}
|
|
||||||
selected_default_debugger_tab_idx=1
|
|
||||||
selected_main_editor_idx=1
|
|
||||||
|
|
||||||
[EditorWindow]
|
|
||||||
|
|
||||||
screen=0
|
|
||||||
mode="maximized"
|
|
||||||
position=Vector2i(0, 60)
|
|
||||||
|
|
||||||
[ScriptEditor]
|
|
||||||
|
|
||||||
open_scripts=["res://scripts/Enemy.gd", "res://scripts/Main.gd", "res://scripts/Player.gd"]
|
|
||||||
selected_script="res://scripts/Player.gd"
|
|
||||||
open_help=[]
|
|
||||||
script_split_offset=400
|
|
||||||
list_split_offset=0
|
|
||||||
zoom_factor=1.0
|
|
||||||
window_rect=Rect2i(0, 0, 2880, 1800)
|
|
||||||
window_screen=0
|
|
||||||
window_screen_rect=Rect2i(0, 60, 2880, 1740)
|
|
||||||
|
|
||||||
[GameView]
|
|
||||||
|
|
||||||
floating_window_rect=Rect2i(854, 458, 1172, 806)
|
|
||||||
floating_window_screen=0
|
|
||||||
|
|
||||||
[ShaderEditor]
|
|
||||||
|
|
||||||
open_shaders=[]
|
|
||||||
split_offset=400
|
|
||||||
selected_shader=""
|
|
||||||
text_shader_zoom_factor=1.0
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
63f7b34db8d8cdea90c76aacccf841ec
|
|
||||||
::res://::1776852182
|
|
||||||
icon.svg::CompressedTexture2D::5982078435067271598::1776851681::1776852183::1::::<><><>0<>0<>ca0a886cd24b06b2f64ae5271fa97ce6<>res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex::
|
|
||||||
::res://scenes/::1776851691
|
|
||||||
Enemy.tscn::PackedScene::6409490066716950956::1776851687::0::1::::<><><>0<>0<><>::res://scripts/Enemy.gd
|
|
||||||
Main.tscn::PackedScene::8897127817261996046::1776851691::0::1::::<><><>0<>0<><>::res://scripts/Main.gd
|
|
||||||
Player.tscn::PackedScene::3474306994787601198::1776851684::0::1::::<><><>0<>0<><>::res://scripts/Player.gd
|
|
||||||
::res://scripts/::1776852042
|
|
||||||
Enemy.gd::GDScript::1423062711014319506::1776851960::0::1::::<>CharacterBody3D<><>0<>0<><>::
|
|
||||||
Main.gd::GDScript::3051304906098389946::1776852042::0::1::::<>Node3D<><>0<>0<><>::
|
|
||||||
Player.gd::GDScript::2700327509467176353::1776851717::0::1::::<>CharacterBody3D<><>0<>0<><>::
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
res://scripts/Enemy.gd
|
|
||||||
res://scripts/Main.gd
|
|
||||||
res://scripts/Player.gd
|
|
||||||
res://scenes/Player.tscn
|
|
||||||
res://scenes/Enemy.tscn
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
[game_view]
|
|
||||||
|
|
||||||
select_mode=0
|
|
||||||
embed_size_mode=1
|
|
||||||
|
|
||||||
[editor_metadata]
|
|
||||||
|
|
||||||
executable_path="/Applications/Godot.app/Contents/MacOS/Godot"
|
|
||||||
|
|
||||||
[recent_files]
|
|
||||||
|
|
||||||
scenes=["res://scenes/Player.tscn", "res://scenes/Enemy.tscn", "res://scenes/Main.tscn"]
|
|
||||||
scripts=["Timer", "Node", "SceneTree", "Node3D", "res://scripts/Player.gd", "res://scripts/Enemy.gd", "res://scripts/Main.gd"]
|
|
||||||
|
|
||||||
[dialog_bounds]
|
|
||||||
|
|
||||||
project_settings=Rect2(288, 200, 2304, 1400)
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
[res://scripts/Main.gd]
|
|
||||||
|
|
||||||
state={
|
|
||||||
"bookmarks": PackedInt32Array(),
|
|
||||||
"breakpoints": PackedInt32Array(),
|
|
||||||
"column": 28,
|
|
||||||
"folded_lines": PackedInt32Array(),
|
|
||||||
"h_scroll_position": 0,
|
|
||||||
"row": 211,
|
|
||||||
"scroll_position": 193.0,
|
|
||||||
"selection": false,
|
|
||||||
"syntax_highlighter": "GDScript"
|
|
||||||
}
|
|
||||||
|
|
||||||
[res://scripts/Enemy.gd]
|
|
||||||
|
|
||||||
state={
|
|
||||||
"bookmarks": PackedInt32Array(),
|
|
||||||
"breakpoints": PackedInt32Array(),
|
|
||||||
"column": 14,
|
|
||||||
"folded_lines": PackedInt32Array(),
|
|
||||||
"h_scroll_position": 0,
|
|
||||||
"row": 17,
|
|
||||||
"scroll_position": 0.0,
|
|
||||||
"selection": true,
|
|
||||||
"selection_from_column": 9,
|
|
||||||
"selection_from_line": 17,
|
|
||||||
"selection_to_column": 14,
|
|
||||||
"selection_to_line": 17,
|
|
||||||
"syntax_highlighter": "GDScript"
|
|
||||||
}
|
|
||||||
|
|
||||||
[res://scripts/Player.gd]
|
|
||||||
|
|
||||||
state={
|
|
||||||
"bookmarks": PackedInt32Array(),
|
|
||||||
"breakpoints": PackedInt32Array(),
|
|
||||||
"column": 33,
|
|
||||||
"folded_lines": PackedInt32Array(),
|
|
||||||
"h_scroll_position": 0,
|
|
||||||
"row": 9,
|
|
||||||
"scroll_position": 1.5287992,
|
|
||||||
"selection": false,
|
|
||||||
"syntax_highlighter": "GDScript"
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
list=[]
|
|
||||||
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
source_md5="e51b0fee176db4042f82efec3432fe85"
|
|
||||||
dest_md5="39fbb8da890d40686d5f42136abbe9a9"
|
|
||||||
|
|
||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
+3
-2
@@ -9,6 +9,7 @@ const CAM_DIST := 8.0
|
|||||||
const MOUSE_SENS := 0.18
|
const MOUSE_SENS := 0.18
|
||||||
const PITCH_MIN := 5.0
|
const PITCH_MIN := 5.0
|
||||||
const PITCH_MAX := 70.0
|
const PITCH_MAX := 70.0
|
||||||
|
const SPAWN_TIME := 10
|
||||||
|
|
||||||
var cam_yaw: float = 0.0
|
var cam_yaw: float = 0.0
|
||||||
var cam_pitch: float = 28.0
|
var cam_pitch: float = 28.0
|
||||||
@@ -48,7 +49,7 @@ func _input(event: InputEvent) -> void:
|
|||||||
var motion := event as InputEventMouseMotion
|
var motion := event as InputEventMouseMotion
|
||||||
if motion != null and Input.mouse_mode == Input.MOUSE_MODE_CAPTURED:
|
if motion != null and Input.mouse_mode == Input.MOUSE_MODE_CAPTURED:
|
||||||
cam_yaw -= motion.relative.x * MOUSE_SENS
|
cam_yaw -= motion.relative.x * MOUSE_SENS
|
||||||
cam_pitch -= motion.relative.y * MOUSE_SENS
|
cam_pitch += motion.relative.y * MOUSE_SENS
|
||||||
cam_pitch = clampf(cam_pitch, PITCH_MIN, PITCH_MAX)
|
cam_pitch = clampf(cam_pitch, PITCH_MIN, PITCH_MAX)
|
||||||
|
|
||||||
if event.is_action_pressed("ui_cancel"):
|
if event.is_action_pressed("ui_cancel"):
|
||||||
@@ -209,7 +210,7 @@ func _on_spawn_timer() -> void:
|
|||||||
if not game_active or upgrading:
|
if not game_active or upgrading:
|
||||||
return
|
return
|
||||||
_spawn_enemy()
|
_spawn_enemy()
|
||||||
spawn_timer.wait_time = 10 # max(0.25, 1.4 - wave * 0.07)
|
spawn_timer.wait_time = SPAWN_TIME # max(0.25, 1.4 - wave * 0.07)
|
||||||
|
|
||||||
func _spawn_enemy() -> void:
|
func _spawn_enemy() -> void:
|
||||||
var enemy := ENEMY_SCENE.instantiate() as CharacterBody3D
|
var enemy := ENEMY_SCENE.instantiate() as CharacterBody3D
|
||||||
|
|||||||
Reference in New Issue
Block a user