Created
April 18, 2013 16:22
-
-
Save whity-82/5414073 to your computer and use it in GitHub Desktop.
Sample of mouse cursor enabling with Gosu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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