Added overlay for future fps and stats display

This commit is contained in:
2020-05-02 17:34:19 -05:00
parent 27de5667be
commit 9593d341bf
7 changed files with 68 additions and 9 deletions

View File

@@ -31,7 +31,6 @@ class IMICFPS
@lights << @light
@camera = Camera.new(position: Vector.new(0, 1.5, 5), orientation: Vector.forward)
@renderer = Renderer.new
label @manifest.name, text_size: 50
label @manifest.model
@@ -55,7 +54,7 @@ class IMICFPS
)
Gosu.gl do
@renderer.draw(@camera, [@light], @map.entities)
window.renderer.draw(@camera, [@light], @map.entities)
end
@crosshair.draw