This commit is contained in:
parent
7d04313643
commit
67d202aed3
|
|
@ -16,7 +16,7 @@ class Credits_Message
|
||||||
@sprite_bg.bitmap.fill_rect(0, 0, Graphics.width, Graphics.height, Color.new(255, 255, 255, 255))
|
@sprite_bg.bitmap.fill_rect(0, 0, Graphics.width, Graphics.height, Color.new(255, 255, 255, 255))
|
||||||
end
|
end
|
||||||
@sprite_text = Sprite.new(@viewport)
|
@sprite_text = Sprite.new(@viewport)
|
||||||
@contents = Bitmap.new((Graphics.width / 2), (Graphics.height / 2))
|
@contents = Bitmap.new(Graphics.width / 2, Graphics.height / 2)
|
||||||
Language.register_text_sprite(self.class.name + "_contents", @contents)
|
Language.register_text_sprite(self.class.name + "_contents", @contents)
|
||||||
@contents.font.size = 16
|
@contents.font.size = 16
|
||||||
@sprite_text.bitmap = @contents
|
@sprite_text.bitmap = @contents
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ class FastTravel
|
||||||
@bg.bitmap.fill_rect(0, 0, Graphics.width, Graphics.height, Color.new(0, 0, 0, 128))
|
@bg.bitmap.fill_rect(0, 0, Graphics.width, Graphics.height, Color.new(0, 0, 0, 128))
|
||||||
@title = Sprite.new(@viewport)
|
@title = Sprite.new(@viewport)
|
||||||
Language.register_text_sprite(self.class.name + "_title", @title)
|
Language.register_text_sprite(self.class.name + "_title", @title)
|
||||||
@title.bitmap = Bitmap.new(320, TITLE_MARGIN)
|
@title.bitmap = Bitmap.new(Graphics.width / 2, TITLE_MARGIN)
|
||||||
@title.bitmap.font.size = 40
|
@title.bitmap.font.size = 40
|
||||||
@title.y = TITLE_TOP_MARGIN
|
@title.y = TITLE_TOP_MARGIN
|
||||||
@title.x = MARGIN
|
@title.x = MARGIN
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@ class Scene_End
|
||||||
s2 = "Shutdown"
|
s2 = "Shutdown"
|
||||||
s3 = "Cancel"
|
s3 = "Cancel"
|
||||||
@command_window = Window_Command.new(192, [s1, s2, s3])
|
@command_window = Window_Command.new(192, [s1, s2, s3])
|
||||||
@command_window.x = 320 - @command_window.width / 2
|
@command_window.x = (Graphica.width / 2) - @command_window.width / 2
|
||||||
@command_window.y = 240 - @command_window.height / 2
|
@command_window.y = (Graphica.height / 2) - @command_window.height / 2
|
||||||
# Execute transition
|
# Execute transition
|
||||||
Graphics.transition
|
Graphics.transition
|
||||||
# Main loop
|
# Main loop
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue