Added main menu, added loading screen, hacked and chiseled things until I could load models without attaching to a gameobject.

This commit is contained in:
2018-09-09 15:01:53 -05:00
parent d37758526a
commit 66e7800cad
11 changed files with 182 additions and 16 deletions

View File

@@ -77,7 +77,7 @@ Camera X:#{@camera.x.round(2)} Y:#{@camera.y.round(2)} Z:#{@camera.z.round(2)}
#{if @camera.game_object then "Actor X:#{@camera.game_object.x.round(2)} Y:#{@camera.game_object.y.round(2)} Z:#{@camera.game_object.z.round(2)}";end}
Field Of View: #{@camera.field_of_view}
Mouse Sesitivity: #{@camera.mouse_sensitivity}
Faces: #{@number_of_faces}
Faces: #{$window.number_of_faces}
Last Frame: #{delta_time*1000.0}ms (#{Gosu.fps} fps)
Draw Skydome: #{@draw_skydome}
@@ -117,7 +117,7 @@ eos
@camera.update
$window.close if $window.button_down?(Gosu::KbEscape)
@number_of_faces = 0
$window.number_of_faces = 0
@delta_time = Gosu.milliseconds
end