赞 | 89 |
VIP | 350 |
好人卡 | 311 |
积分 | 102 |
经验 | 150139 |
最后登录 | 2024-6-24 |
在线时间 | 5019 小时 |
Lv4.逐梦者 (版主) 无限の剣制
- 梦石
- 0
- 星屑
- 10204
- 在线时间
- 5019 小时
- 注册时间
- 2013-2-28
- 帖子
- 5030
 
|
这种每帧都重画的脚本就是辣鸡- #怕鼠的猫
- #RMVA上显示1号变量的窗口,自动更新。
- class Mywin < Window_Gold
- def initialize
- super
- self.move(0, 0, width, height) #设置窗口的位置和大小
- refresh
- end
- def refresh
- contents.clear
- #显示1号变量
- @game_variables = $game_variables[81]
- draw_currency_value($game_variables[81], '变量 ', 4, 0, contents.width - 8)
- end
-
- def update
- refresh if @game_variables != $game_variables[81]
- end
-
- end
- #####################################
- class Scene_Map
- def create_location_window
- @map_name_window = Window_MapName.new
- @mywindow=Mywin.new
- end
- end
- #######################################
- #完事
复制代码 |
评分
-
查看全部评分
|