#!ruby -Ks # -*- mode: ruby; encoding: sjis -*- # Last updated: <2014/11/30 21:24:35 +0900> require 'dxruby' img0 = Image.new(96,96, C_RED) img1 = Image.new(96,96, C_CYAN) Window.loop do break if Input.keyPush?(K_ESCAPE) Window.draw(160, 120, img0) Window.draw(320, 160, img1) end