Big ol refactor of scripts

This commit is contained in:
2026-04-21 23:27:53 -05:00
parent 17c924f040
commit 28ddb48896
90 changed files with 2670 additions and 4013 deletions
+5 -2
View File
@@ -1,16 +1,19 @@
module('entity')
module('math')
module('color')
function entityInit()
entityPositionAdd(ENTITY_ID)
local phys = entityPhysicsAdd(ENTITY_ID)
phys.bodyType = PHYSICS_BODY_STATIC
phys:setShapePlane(0, 1, 0, 0)
phys:setShapePlane(vec3(0, 1, 0), 0)
local mesh = entityMeshAdd(ENTITY_ID)
mesh:generatePlane(20, 20)
entityMaterialAdd(ENTITY_ID)
local mat = entityMaterialAdd(ENTITY_ID)
mat.color = colorBlack()
end
function entityDispose()