Skip to content
bggd edited this page Jul 14, 2014 · 10 revisions
# Module Methods

Display.create(width, height, title:"mruby-minigame", vsync:true, fullscreen:false, multisample:0, icon:"")

Display.clear(color = Color.rgb(255, 255, 255))

Display.flip

Display.screenshot(filename)

# mode - :alpha, :additive, :subtractive, :premultiplied, :replace (default blender is :replace)
Display.set_blender(mode)

Display.get_blender

# Module Attributes

Display.w

Display.h
Clone this wiki locally