I've started a script but am unsure as to how to do it. the image below explains everything
http://i5.photobucket.com/albums/y200/D ... titled.png[/IMG]
here are the current scripts, the text in the two windows is just for where they are, that can be removed
http://i5.photobucket.com/albums/y200/D ... titled.png[/IMG]
here are the current scripts, the text in the two windows is just for where they are, that can be removed
Code:
#==============================================================================
# * Scene_Release
#==============================================================================
class Scene_Release
#--------------------------------------------------------------------------
# * Main Processing
#--------------------------------------------------------------------------
def main
#call the window
@window = Window_Release_MonsterList.new
@window2 = Window_Release_MonsterStats.new
# Execute transition
Graphics.transition
# Main loop
loop do
# Update game screen
Graphics.update
# Update input information
Input.update
# Frame update
update
# Abort loop if screen is changed
if $scene != self
break
end
end
# Prepare for transition
Graphics.freeze
# Dispose of windows
@window.dispose
@window2.dispose
end
#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
def update
# Update windows
@window.update
# If B button was pressed
if Input.trigger?(Input::B)
# Play cancel SE
$game_system.se_play($data_system.cancel_se)
# Switch to Map screen
$scene = Scene_Map.new
return
end
end
end
Code:
class Window_Release_MonsterList < Window_Base
#----------------------------------------------------------------------
# * Object Initialization
#----------------------------------------------------------------------
def initialize
super(0, 0, 150, 480)
self.contents = Bitmap.new(width - 32, height - 32)
refresh
end
def refresh
self.contents.clear
self.contents.font.color = normal_color
self.contents.font.size = 20
self.contents.draw_text(10, 10, 100, 32, "Monster Name")
end
end
Code:
class Window_Release_MonsterStats < Window_Base
#----------------------------------------------------------------------
# * Object Initialization
#----------------------------------------------------------------------
def initialize
super(150, 0, 490, 480)
self.contents = Bitmap.new(width - 32, height - 32)
refresh
end
def refresh
self.contents.clear
self.contents.font.color = normal_color
self.contents.font.size = 20
self.contents.draw_text(10, 10, 1000, 32, "Monster Description")
end
end