赞 | 287 |
VIP | 11 |
好人卡 | 74 |
积分 | 226 |
经验 | 281171 |
最后登录 | 2024-11-16 |
在线时间 | 9414 小时 |
Lv5.捕梦者 (暗夜天使) 只有笨蛋才会看到
- 梦石
- 1
- 星屑
- 21631
- 在线时间
- 9414 小时
- 注册时间
- 2012-6-19
- 帖子
- 7118
|
本帖最后由 喵呜喵5 于 2021-3-3 00:47 编辑
- module M520170806W
- class W < ::Spriteset_Weather
- def initialize
- @m5_20170806_viewport = Viewport.new
- @m5_20170806_viewport.z = 100
- super(@m5_20170806_viewport)
- self.power = 5
- update
- end
- def init_members
- super
- @type = :rain
- @ox = Graphics.width/2
- @oy = Graphics.height/2
- end
- def dispose
- super
- @m5_20170806_viewport.dispose
- end
- def dimness; 0; end
- end
- end
- class Scene_Title
- alias m5_20170806_create_foreground create_foreground
- def create_foreground
- m5_20170806_create_foreground
- @m5_20170806_weather = M520170806W::W.new
- end
- alias m5_20170806_update update
- def update
- m5_20170806_update
- @m5_20170806_weather.update
- end
- alias m5_20170806_dispose_foreground dispose_foreground
- def dispose_foreground
- @m5_20170806_weather.dispose
- m5_20170806_dispose_foreground
- end
- end
复制代码 |
|