Compare commits

..

5 commits

Author SHA1 Message Date
3cd2327edc working on mod loader
should i enable the modload inside the engine itself ?
2025-08-01 01:52:26 +02:00
63cca5c2fb modloader prototype 2025-08-01 01:46:14 +02:00
0c72afcead some optimization on addons
(cherry picked from commit 9f4c9edd43)
2025-08-01 01:45:26 +02:00
841b76b916 reorganize
(cherry picked from commit 6165129d94)
2025-08-01 01:45:21 +02:00
d114c5f300 Debugtools : DrawSphere
+ .zed folder gitignore
2025-07-31 22:06:10 +02:00
3 changed files with 12 additions and 3 deletions

1
.gitignore vendored
View file

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

View file

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

View file

@ -144,3 +144,11 @@ func DrawCube(Center, HalfExtents := 0.1, time := 0.0, LineColor := Color(1.0, 0
DrawRay(LinePointStart, Vector3(0, HalfExtents * 2.0, 0), time, LineColor) DrawRay(LinePointStart, Vector3(0, HalfExtents * 2.0, 0), time, LineColor)
LinePointStart += Vector3(0, 0, -HalfExtents * 2.0) LinePointStart += Vector3(0, 0, -HalfExtents * 2.0)
DrawRay(LinePointStart, Vector3(0, HalfExtents * 2.0, 0), time, LineColor) 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)