本帖最后由 naterni 于 2011-9-20 13:29 编辑
今天出了个问题,显示图片的脚本问题。代码如下- $game_map.screen.pictures[1].show("UI",0,0,0,100,100,255,0)
- $game_map.screen.pictures[2].show(hc1.to_s,0,425,387,100,100,255,0)
- $game_map.screen.pictures[3].show(hc2.to_s,0,439,387,100,100,255,0)
- $game_map.screen.pictures[4].show(hc3.to_s,0,461,387,100,100,255,0)
- $game_map.screen.pictures[5].show(hc4,0,497,391,100,100,255,0)
- $game_map.screen.pictures[6].show("星期" + hc5.to_s,0,0,0,100,100,255,0)
- $game_map.screen.pictures[7].show(hc6.to_s,0,477,14,100,100,255,0)
- $game_map.screen.pictures[8].show(hc7.to_s,0,493,14,100,100,255,0)
- $game_map.screen.pictures[9].show(hc8,0,442,10,100,100,255,0)
- $game_map.screen.pictures[10].show(hc9,0,453,42,100,100,255,0)
- $game_map.screen.pictures[11].show("状态条",0,67,393,$game_variables[7],100,255,0)
- $game_map.screen.pictures[12].show("状态条",0,188,393,$game_variables[8],100,255,0)
- $game_map.screen.pictures[13].show("状态条",0,308,393,$game_variables[9],100,255,0)
- $game_map.screen.pictures[14].show("微笑",0,493,46,100,100,255,0)
复制代码 实在搞不明白,最后一条去掉就正常执行。之前第10条也出现过类似情况,然后莫名其妙的又好了。
错误如下:
请各位大大相助,告知问题所在和解决办法,万分感谢.....
naterni于2011-9-20 13:29补充以下内容:
貌似我用的是GIF图片的问题,改为PNG之后就好了.......... |