mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
H
This commit is contained in:
parent
7d04313643
commit
67d202aed3
3 changed files with 4 additions and 4 deletions
|
|
@ -16,7 +16,7 @@ class Credits_Message
|
|||
@sprite_bg.bitmap.fill_rect(0, 0, Graphics.width, Graphics.height, Color.new(255, 255, 255, 255))
|
||||
end
|
||||
@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)
|
||||
@contents.font.size = 16
|
||||
@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))
|
||||
@title = Sprite.new(@viewport)
|
||||
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.y = TITLE_TOP_MARGIN
|
||||
@title.x = MARGIN
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ class Scene_End
|
|||
s2 = "Shutdown"
|
||||
s3 = "Cancel"
|
||||
@command_window = Window_Command.new(192, [s1, s2, s3])
|
||||
@command_window.x = 320 - @command_window.width / 2
|
||||
@command_window.y = 240 - @command_window.height / 2
|
||||
@command_window.x = (Graphica.width / 2) - @command_window.width / 2
|
||||
@command_window.y = (Graphica.height / 2) - @command_window.height / 2
|
||||
# Execute transition
|
||||
Graphics.transition
|
||||
# Main loop
|
||||
|
|
|
|||
Loading…
Reference in a new issue