Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Window_Mine < Window_Base
- def initialize
- super(0,0,320,240)
- refresh() # // Not exactly nessacry but looks nicer
- end
- def refresh()
- actor = $game_actors[1]
- x,y = 5, 50
- draw_actor_face(actor, x, y)
- end
- end
- class Scene_Mine < Scene_Base
- def start()
- super() # // Empty but still call it
- @my_window = Window_Mine.new()
- end
- def update()
- super() # // Call to have Graphics and Input Update
- #@my_window.update() # // No need to update windows in Ace
- if Input.trigger?(Input::C)
- #$scene = Scene_Map.new # // Only for VX
- SceneManager.goto(Scene_Map) # // Ace way of doing Scene changes
- end
- end
- def terminate()
- super() # // Though the default is empty, be sure to call it
- @my_window.dispose
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment