Version 0.1 - 0.3.1

Added the World
Added Mobs, and spawning those mobs at runtime
Added simple camera movement
Added simple UI/HUD
This commit is contained in:
gdz
2025-07-29 23:21:53 +02:00
parent 9cef1ddce2
commit 802918e5b8
46 changed files with 1087 additions and 1 deletions

17
scenes/spawner/spawner.gd Normal file
View File

@@ -0,0 +1,17 @@
extends Node
const FlyScene = preload("res://scenes/entities/fly/fly.tscn")
func spawn_entity(entity_scene, position):
# Instance the scene
var entity = entity_scene.instantiate()
if entity is Node2D:
entity.position = position
add_child(entity)
return entity
func spawn_fly(position):
return spawn_entity(FlyScene, position)