diff options
Diffstat (limited to 'dyl.lua')
| -rw-r--r-- | dyl.lua | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -231,6 +231,8 @@ end function _init() end +_camera = Camera:new(_player) + _step_t = time() function _update60() -- clear here in case we want to print to screen outside of _draw @@ -251,8 +253,9 @@ function _update60() end function _draw() - World.sort(function(a, b) - return b.render_order < a.render_order - end) - World.foreach(function(e) e:render() end) + -- TODO: FIX THIS + -- World.sort(function(a, b) + -- return b.render_order < a.render_order + -- end) + World.foreach(function(e) _camera:render(e) end) end
\ No newline at end of file |
