Why is Gosu hiding my mouse pointer? Why is Gosu hiding my mouse pointer? ruby ruby

Why is Gosu hiding my mouse pointer?


If you want to use the system cursor you can do this

class Window < Gosu::Window  def initialize    super 320, 240, false  end  def needs_cursor?    true  endend

Check out the documentation at libgosu

RubyGosu rdoc Reference / Window


I'm using something like this:

class Game < Gosu::Window  def initialize    super 800, 600, false    @cursor = Gosu::Image.new(self, 'media/cursor.png')  end  def draw    @cursor.draw self.mouse_x, self.mouse_y, 0  endendGame.new.show