Shader for lighting, fairy line of view, tileset change, broke lights, sorry

This commit is contained in:
lustlion
2022-02-05 12:32:47 +01:00
parent 15f5ef8454
commit cbf29ced65
13 changed files with 176 additions and 31 deletions

View File

@@ -14,7 +14,7 @@ function GameStep()
for _, enty in pairs(LoadedEntities) do
enty:DoPhysics()
end
AnimateTiles()
Camera:positionCenterAt(main_Player.pos.x, main_Player.pos.y)
--camera:positionAt(main_Player.pos.x, main_Player.pos.y,game.width,game.height)
@@ -52,10 +52,10 @@ function GameDraw()
GameworldDrawPrepare()
GameworldDrawParticles()
GameworldDrawBackground()
GameworldDrawLighting()
GameworldDrawEntities()
GameworldDrawForeground()
GameworldDrawEnd()
GameworldDrawLighting()
-- hud
textScale = 0.5