想放大成这样的两倍,并不会改变游戏窗口大小 我真的找遍了新手入门教程...但都是放大游戏窗口,画面不但并没有改变,还出现了多主角多房间BUG...||| 不!要!拉!伸!整个画面都模糊了真的不是撸多了? 听说要改d ...
class << Graphics alias update_normal_size update def update unless @game_sprite @game_sprite = Sprite.new(Viewport.new) @game_sprite.viewport.z = 999 @game_sprite.x = @game_sprite.ox = width / 2 @game_sprite.y = @game_sprite.oy = height / 2 @game_sprite.zoom_x = @game_sprite.zoom_y = 2 end @game_sprite.bitmap.dispose if @game_sprite.bitmap @game_sprite.bitmap = snap_to_bitmap update_normal_size endend
class << Graphics alias update_normal_size update def update unless @game_sprite @game_sprite = Sprite.new(Viewport.new) @game_sprite.viewport.z = 999 @game_sprite.x = @game_sprite.ox = width / 2 @game_sprite.y = @game_sprite.oy = height / 2 @game_sprite.zoom_x = @game_sprite.zoom_y = 2 end @game_sprite.bitmap.dispose if @game_sprite.bitmap @game_sprite.bitmap = snap_to_bitmap update_normal_size end end
查看全部评分
折叠内容标题(非必须)
折叠内容
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-11-23 06:24
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.