Compare commits

..

4 commits

Author SHA1 Message Date
9f4c9edd43 some optimization on addons 2025-08-01 01:41:54 +02:00
186cb926e8 working on mod loader
should i enable the modload inside the engine itself ?
2025-08-01 01:40:57 +02:00
6165129d94 reorganize 2025-07-31 22:37:55 +02:00
4218e2099d
modloader prototype 2025-07-31 19:35:47 +02:00
3 changed files with 3 additions and 12 deletions

1
.gitignore vendored
View file

@ -16,4 +16,3 @@ data_*/
mono_crash.*.json
BUILDS
.zed/

View file

@ -20,7 +20,7 @@ var mod_folders:PackedStringArray
var critical_error := false
var mod_paths : PackedStringArray
var mod_manifests : Dictionary[String,Dictionary]
var mod_manifests : Dictionary[String]
# === SIGNALS ===
signal loading_finished
@ -73,5 +73,5 @@ func load_mods():
else:
mod_manifests[mod_name] = manifest
print_verbose("Mod loaded: %s" % manifest["name"])
for mod in mod_manifests:
print("Mod loaded: %s" % mod)
print(dir.get_files())

View file

@ -144,11 +144,3 @@ func DrawCube(Center, HalfExtents := 0.1, time := 0.0, LineColor := Color(1.0, 0
DrawRay(LinePointStart, Vector3(0, HalfExtents * 2.0, 0), time, LineColor)
LinePointStart += Vector3(0, 0, -HalfExtents * 2.0)
DrawRay(LinePointStart, Vector3(0, HalfExtents * 2.0, 0), time, LineColor)
func DrawSphere(Position:Vector3):
var SphereShape = CSGSphere3D.new()
var node = Node3D.new()
node.add_child(SphereShape)
node.position = Position
get_tree().root.add_child(node)