Compare commits
5 commits
9f4c9edd43
...
3cd2327edc
Author | SHA1 | Date | |
---|---|---|---|
3cd2327edc | |||
63cca5c2fb | |||
0c72afcead | |||
841b76b916 | |||
d114c5f300 |
3 changed files with 12 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -16,3 +16,4 @@ data_*/
|
|||
mono_crash.*.json
|
||||
|
||||
BUILDS
|
||||
.zed/
|
||||
|
|
|
@ -20,7 +20,7 @@ var mod_folders:PackedStringArray
|
|||
var critical_error := false
|
||||
|
||||
var mod_paths : PackedStringArray
|
||||
var mod_manifests : Dictionary[String]
|
||||
var mod_manifests : Dictionary[String,Dictionary]
|
||||
|
||||
# === SIGNALS ===
|
||||
signal loading_finished
|
||||
|
@ -73,5 +73,5 @@ func load_mods():
|
|||
else:
|
||||
mod_manifests[mod_name] = manifest
|
||||
print_verbose("Mod loaded: %s" % manifest["name"])
|
||||
|
||||
print(dir.get_files())
|
||||
for mod in mod_manifests:
|
||||
print("Mod loaded: %s" % mod)
|
||||
|
|
|
@ -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)
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue