Skip to content

Instantly share code, notes, and snippets.

@whity-82
Created April 18, 2013 16:22
Show Gist options
  • Save whity-82/5414073 to your computer and use it in GitHub Desktop.
Save whity-82/5414073 to your computer and use it in GitHub Desktop.
Sample of mouse cursor enabling with Gosu
#coding:utf-8
require 'gosu'
class GameWindow < Gosu::Window
def initialize
super(640, 480, false)
end
# マウスカーソルを表示する
def needs_cursor?
true
end
end
window = GameWindow.new
window.show
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment