IceDragon200

[VXA]DerpTestWindow

Apr 29th, 2012
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class TestMessage < Window_Base
  2.   def initialize
  3.     super(0,0,120,120)
  4.     draw_icon(1, 0,0)
  5.   end
  6. end
  7. class TestScene < Scene_Base
  8.   def start
  9.     super
  10.     @my_window = TestMessage.new
  11.   end
  12.   def update
  13.     super
  14.     @my_window.update
  15.     if Input.trigger?(:DOWN)
  16.       return_scene
  17.     end    
  18.   end
  19.   def dispose
  20.     @my_window.dispose
  21.   end
  22. end
Advertisement
Add Comment
Please, Sign In to add comment