
Untitled
By: a guest on
Apr 15th, 2012 | syntax:
Rails | size: 0.41 KB | hits: 13 | expires: Never
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
end
class Scene_Mine < Scene_Base
def start
@my_window = Window_Mine.new
end
def update
@my_window.update
if Input.trigger?(Input::C)
$scene = Scene_Map.new
end
end
def terminate
@my_window.dispose
end
end