yeah table uh not sure
This commit is contained in:
parent
8e9078e929
commit
a722c019f3
|
@ -1,2 +1,3 @@
|
||||||
logs*
|
logs*
|
||||||
export*
|
export*
|
||||||
|
demo*
|
|
@ -33,8 +33,8 @@ function DebugUI()
|
||||||
end
|
end
|
||||||
|
|
||||||
function DebugColisions()
|
function DebugColisions()
|
||||||
DrawColisionTable()
|
-- DrawColisionTable()
|
||||||
-- LoadedObjects.DrawCollisions()
|
LoadedObjects.DrawCollisions()
|
||||||
end
|
end
|
||||||
|
|
||||||
function DebugEntities()
|
function DebugEntities()
|
||||||
|
|
|
@ -638,7 +638,7 @@ function TileCreateObjects()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
CreateCollisionTable()
|
--CreateCollisionTable()
|
||||||
end
|
end
|
||||||
|
|
||||||
function AnimateTiles()
|
function AnimateTiles()
|
||||||
|
|
|
@ -9,6 +9,10 @@ LoadedObjects = {
|
||||||
|
|
||||||
-- level functions
|
-- level functions
|
||||||
function LoadedObjects.DrawCollisions()
|
function LoadedObjects.DrawCollisions()
|
||||||
|
for _, ladder in pairs(LoadedObjects.Collisions) do
|
||||||
|
ladder:Draw(1)
|
||||||
|
end
|
||||||
|
|
||||||
for _, platform in pairs(LoadedObjects.Platforms) do
|
for _, platform in pairs(LoadedObjects.Platforms) do
|
||||||
if platform.disable == true then platform:Draw(2) end
|
if platform.disable == true then platform:Draw(2) end
|
||||||
if platform.disable == false then platform:Draw(1) end
|
if platform.disable == false then platform:Draw(1) end
|
||||||
|
|
Loading…
Reference in New Issue