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