class Scene_Title def initialize @t = 0 end alias old_update update def update @sprite.src_rect(@t,0,640,480) if Graphics.frame_count % 4 == 0 @t += 640 @t = 0 if @t >= @sprite.bitmap.width end old_update end end
灯笼菜刀王 发表于 2022-8-8 11:44
class Scene_Title
def initialize
@t = 0
屏幕截图 2022-08-08 154320.jpg (18.4 KB, 下载次数: 10)
阿希拉 发表于 2022-8-8 15:55
大佬,这是怎么回事
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |