Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # // Dont cram your code together
- class Window_Mine < Window_Base
- def initialize
- super( 0, 0, 320, 240 )
- actor = $game_actors[1]
- x, y = 5, 50
- draw_actor_face( actor, x, y )
- end
- # // Define your methods, outside other methods . x .
- def your_method
- end
- end
- class Scene_Mine < Scene_Base
- def start()
- super()
- @my_window = Window_Mine.new
- end
- def update()
- super()
- @my_window.update
- if Input.trigger?(Input::C)
- $scene = Scene_Map.new
- end
- end
- def terminate()
- super()
- @my_window.dispose
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment