,于是自己也仿写了一下。我的脚本如下
class Window_test < Window_Base def initialize super(0,372,544,44) @chuangkou1 = Window_Base.new(0,0,96,96) refresh end def update super refresh end def refresh self.contents.clear end end
所以想问一下,这到底是为什么呢!求大大们指点迷津!感激不尽!
就这个问题,会衍生出什么比较常见的问题呢?比如变量、局部变量、常量还有那个@@的变量往往在游戏中最习惯扮演什么角色(起什么作用)?
QQ截图20140410110608.jpg (29.21 KB, 下载次数: 38)
感谢大大!
原来必要的时候刷新就可以啦,感谢指导

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