mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Credits messege 16:9 support
This commit is contained in:
parent
b92a7647a2
commit
7d04313643
1 changed files with 1 additions and 1 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))
|
@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(320, 240)
|
@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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue