Sha256: 68c14d4d30bbfdf5692eb04c75c48e6f485590f58fd642bcb0117ed66d9d2394
Contents?: true
Size: 359 Bytes
Versions: 4
Compression:
Stored size: 359 Bytes
Contents
$:.unshift File.expand_path(File.dirname(__FILE__) + "/../../lib") $:.unshift File.expand_path(File.dirname(__FILE__) + "/../../ext") require 'ray' Ray.game "No border", :no_frame => true do register { add_hook :key_press, key(:q), method(:exit!) } scene :main do render do |win| win.clear Ray::Color.red end end scenes << :main end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ray-0.2.1 | samples/window/no_border.rb |
ray-0.2.0 | samples/window/no_border.rb |
ray-0.1.1 | samples/window/no_border.rb |
ray-0.1.0 | samples/window/no_border.rb |