Allora, ho appena creato un codice rgss con lo script creator, si tratta di un layout per un menù, adesso mi chiedo come far si che il layout diventi lo sfondo per il menù, poi a posizionare e ridimensionare scritte e battler ci penso io , ma se qualcuno mi spiega come fare diventare questo script parte integrante nel menù mi fà un piacere...
Question
=SiD=
Allora, ho appena creato un codice rgss con lo script creator, si tratta di un layout per un menù, adesso mi chiedo come far si che il layout diventi lo sfondo per il menù, poi a posizionare e ridimensionare scritte e battler ci penso io , ma se qualcuno mi spiega come fare diventare questo script parte integrante nel menù mi fà un piacere...
Posto lo script nello spoiler qui sotto!!!
#===================================================
# - CLASS Your_Scene Begins
#===================================================
class Your_Scene
#---------------------------------------------------------------------------------
def initialize
end
#---------------------------------------------------------------------------------
def main
@window1 = Window1.new
@window1.x =205
@window1.y =81
@window1.height = 298
@window1.width = 100
#@window1.z = 200
@window2 = Window2.new
@window2.x =304
@window2.y =81
@window2.height = 100
@window2.width = 336
#@window2.z = 200
@window3 = Window3.new
@window3.x =304
@window3.y =181
@window3.height = 100
@window3.width = 336
#@window3.z = 200
@window4 = Window4.new
@window4.x =304
@window4.y =280
@window4.height = 100
@window4.width = 336
#@window4.z = 200
@window5 = Window5.new
@window5.x =304
@window5.y =379
@window5.height = 100
@window5.width = 336
#@window5.z = 200
Graphics.transition
loop do
Graphics.update
Input.update
#update
if $scene != self
break
end
end
Graphics.freeze
@window1.dispose
@window2.dispose
@window3.dispose
@window4.dispose
@window5.dispose
end
#---------------------------------------------------------------------------------
#---------------------------------------------------------------------------------
def update
end
#---------------------------------------------------------------------------------
end
#===================================================
# - CLASS Your_Scene Ends
#===================================================
#===================================================
# - CLASS Window1 Begins
#===================================================
class Window1 < Window_Base
#---------------------------------------------------------------------------------
def initialize
super(0, 0, 100,298)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = "Tahoma"
self.contents.font.size = 22
self.contents.font.color = text_color(0)
self.contents.draw_text(0, 0, 33, 33, "1")
end
#---------------------------------------------------------------------------------
end
#===================================================
# - CLASS Window1 Ends
#===================================================
#===================================================
# - CLASS Window2 Begins
#===================================================
class Window2 < Window_Base
#---------------------------------------------------------------------------------
def initialize
super(0, 0, 336,100)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = "Tahoma"
self.contents.font.size = 22
self.contents.font.color = text_color(0)
self.contents.draw_text(0, 0, 33, 33, "2")
end
#---------------------------------------------------------------------------------
end
#===================================================
# - CLASS Window2 Ends
#===================================================
#===================================================
# - CLASS Window3 Begins
#===================================================
class Window3 < Window_Base
#---------------------------------------------------------------------------------
def initialize
super(0, 0, 336,100)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = "Tahoma"
self.contents.font.size = 22
self.contents.font.color = text_color(0)
self.contents.draw_text(0, 0, 33, 33, "3")
end
#---------------------------------------------------------------------------------
end
#===================================================
# - CLASS Window3 Ends
#===================================================
#===================================================
# - CLASS Window4 Begins
#===================================================
class Window4 < Window_Base
#---------------------------------------------------------------------------------
def initialize
super(0, 0, 336,100)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = "Tahoma"
self.contents.font.size = 22
self.contents.font.color = text_color(0)
self.contents.draw_text(0, 0, 33, 33, "4")
end
#---------------------------------------------------------------------------------
end
#===================================================
# - CLASS Window4 Ends
#===================================================
#===================================================
# - CLASS Window5 Begins
#===================================================
class Window5 < Window_Base
#---------------------------------------------------------------------------------
def initialize
super(0, 0, 336,100)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = "Tahoma"
self.contents.font.size = 22
self.contents.font.color = text_color(0)
self.contents.draw_text(0, 0, 33, 33, "5")
end
#---------------------------------------------------------------------------------
end
#===================================================
# - CLASS Window5 Ends
#===================================================
Tutorial sulla creazione di title per Rpgmaker XP
Tutorial per la creazione di chara stile RTP per RpgMaker XP
Partecipante al Rpg2s.net Game Contest 2008/2009
http://www.rpg2s.net/contest/GameContest0809/gc0809-bannerino.jpg
Gioco in Sviluppo: Arcalea
Link to comment
Share on other sites
26 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now