mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-17 00:22:36 +00:00
Fixed crashes due to removal of 'label' from CyberarmEngine GUI system
This commit is contained in:
@@ -23,10 +23,10 @@ class IMICFPS
|
||||
@camera = PerspectiveCamera.new(aspect_ratio: window.aspect_ratio, position: Vector.new(0, 1.5, 5), orientation: Vector.forward)
|
||||
@camera_controller = CameraController.new(camera: @camera, entity: nil, mode: :fpv)
|
||||
|
||||
label @manifest.name, text_size: 50, text_border: true, text_border_color: Gosu::Color::BLACK
|
||||
label @manifest.model, text_border: true, text_border_color: Gosu::Color::BLACK
|
||||
@camera_position = label "", text_border: true, text_border_color: Gosu::Color::BLACK
|
||||
@camera_orientation = label "", text_border: true, text_border_color: Gosu::Color::BLACK
|
||||
banner @manifest.name, text_size: 50, text_border: true, text_border_color: Gosu::Color::BLACK
|
||||
tagline @manifest.model, text_border: true, text_border_color: Gosu::Color::BLACK
|
||||
@camera_position = tagline "", text_border: true, text_border_color: Gosu::Color::BLACK
|
||||
@camera_orientation = tagline "", text_border: true, text_border_color: Gosu::Color::BLACK
|
||||
|
||||
button "Back" do
|
||||
pop_state
|
||||
|
||||
Reference in New Issue
Block a user