SHOW:
|
|
- or go back to the newest paste.
| 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 | - | |
| 7 | + | |
| 8 | def start | |
| 9 | super | |
| 10 | @my_window = TestMessage.new | |
| 11 | end | |
| 12 | def update | |
| 13 | - | |
| 13 | + | |
| 14 | @my_window.update | |
| 15 | if Input.trigger?(:DOWN) | |
| 16 | return_scene | |
| 17 | - | SceneManager.return |
| 17 | + | end |
| 18 | - | end |
| 18 | + | |
| 19 | - | |
| 19 | + | |
| 20 | - | |
| 20 | + | |
| 21 | end | |
| 22 | - | |
| 22 | + |