Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class TestMessage < Window_Base
- def initialize
- super(0,0,120,120)
- draw_icon(1, 0,0)
- end
- end
- class TestScene < Scene_Base
- def start
- super
- @my_window = TestMessage.new
- end
- def update
- super
- @my_window.update
- if Input.trigger?(:DOWN)
- return_scene
- end
- end
- def dispose
- @my_window.dispose
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment