Project1

标题: 游戏画面整体放大 [打印本页]

作者: 喵呜喵5    时间: 2015-12-31 10:15
标题: 游戏画面整体放大
  1. $sprite = Sprite.new
  2. $sprite.z = 9999
  3. $sprite.zoom_x = 2.0
  4. $sprite.zoom_y = 2.0
  5. $sprite.x = -272
  6. $sprite.y = -208
  7. class << Graphics
  8.   alias m5_update update
  9.   def update
  10.     m5_update
  11.     $sprite.bitmap.dispose if $sprite.bitmap
  12.     $sprite.bitmap = Graphics.snap_to_bitmap
  13.   end
  14. end
复制代码





欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1