赞 | 2 |
VIP | 341 |
好人卡 | 22 |
积分 | 6 |
经验 | 66602 |
最后登录 | 2025-8-5 |
在线时间 | 1243 小时 |
Lv2.观梦者 (管理员) 八云紫的式神
- 梦石
- 0
- 星屑
- 639
- 在线时间
- 1243 小时
- 注册时间
- 2008-1-1
- 帖子
- 4282

|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
- module AntiColor
- module_function
- def start
- return if @active
- @foreground = Sprite.new
- @foreground.z = 501
- @foreground.blend_type = 2
- @foreground.bitmap = Graphics.snap_to_bitmap
- @background = Sprite.new
- @background.z = 500
- @background.bitmap = Bitmap.new(Graphics.width, Graphics.height)
- @background.bitmap.fill_rect(0, 0, Graphics.width, Graphics.height,Color.new(255,255,255))
- @active = true
- end
- def update
- return unless @active
- @background.visible = false
- @foreground.visible = false
- @foreground.bitmap.dispose
- @foreground.bitmap = Graphics.snap_to_bitmap
- @background.visible = true
- @foreground.visible = true
- end
- def terminate
- return unless @active
- @foreground.dispose
- @background.dispose
- @active = false
- GC.start
- end
- end
- class <<Graphics
- alias update_zh99998_anticolor update
- def update
- AntiColor.update
- update_zh99998_anticolor
- end
- end
复制代码
范例:http://rpg.blue/upload_program/d/zh99998_Project87_125056344.rar
![]()
在这晒两天然后转发布区…… |
|