查看: 1444|回复: 2

[已经解决] 显示图片错误的问题

  [复制链接]
梦石
0
星屑
60
在线时间
38 小时
注册时间
2007-5-6
回帖
31
发表于 2011-9-20 13:21:41 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
本帖最后由 naterni 于 2011-9-20 13:29 编辑

今天出了个问题,显示图片的脚本问题。代码如下
  1.   $game_map.screen.pictures[1].show("UI",0,0,0,100,100,255,0)
  2.   $game_map.screen.pictures[2].show(hc1.to_s,0,425,387,100,100,255,0)
  3.   $game_map.screen.pictures[3].show(hc2.to_s,0,439,387,100,100,255,0)
  4.   $game_map.screen.pictures[4].show(hc3.to_s,0,461,387,100,100,255,0)
  5.   $game_map.screen.pictures[5].show(hc4,0,497,391,100,100,255,0)
  6.   $game_map.screen.pictures[6].show("星期" + hc5.to_s,0,0,0,100,100,255,0)
  7.   $game_map.screen.pictures[7].show(hc6.to_s,0,477,14,100,100,255,0)
  8.   $game_map.screen.pictures[8].show(hc7.to_s,0,493,14,100,100,255,0)
  9.   $game_map.screen.pictures[9].show(hc8,0,442,10,100,100,255,0)  
  10.   $game_map.screen.pictures[10].show(hc9,0,453,42,100,100,255,0)
  11.   $game_map.screen.pictures[11].show("状态条",0,67,393,$game_variables[7],100,255,0)
  12.   $game_map.screen.pictures[12].show("状态条",0,188,393,$game_variables[8],100,255,0)
  13.   $game_map.screen.pictures[13].show("状态条",0,308,393,$game_variables[9],100,255,0)
  14.   $game_map.screen.pictures[14].show("微笑",0,493,46,100,100,255,0)
复制代码
实在搞不明白,最后一条去掉就正常执行。之前第10条也出现过类似情况,然后莫名其妙的又好了。
错误如下:

未命名.jpg

请各位大大相助,告知问题所在和解决办法,万分感谢.....


naterni于2011-9-20 13:29补充以下内容:
貌似我用的是GIF图片的问题,改为PNG之后就好了..........
好吧,我终于发现最近几天学习脚本之后果断能把事件复杂化成脚本了..........

梦石
0
星屑
50
在线时间
1071 小时
注册时间
2011-5-12
回帖
2260

贵宾

发表于 2011-9-20 13:39:56 | 显示全部楼层
VX无法读取GIF图片= =
找我请找芙蕾娅
顺带一提,完全看得懂我头像请捡起你自己的节操哟(自重
回复

使用道具 举报

梦石
0
星屑
60
在线时间
38 小时
注册时间
2007-5-6
回帖
31
 楼主| 发表于 2011-9-20 14:30:23 | 显示全部楼层
原来真是这样,感谢楼上的朋友了。
好吧,我终于发现最近几天学习脚本之后果断能把事件复杂化成脚本了..........
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部