Project1
标题:
脚本错误帮忙查看错因
[打印本页]
作者:
sdbgejsb
时间:
2008-11-9 22:32
标题:
脚本错误帮忙查看错因
class cloud
def start
$game_screen.pictures[1].show("c1.png", 0, 0, 0, 100, 100, 100, 0)
$game_screen.pictures[2].show("c1.png", 0, 481, 0, 100, 100, 100, 0)
$game_screen.pictures[3].show("c1.png", 0, 961, 0, 100, 100, 100, 0)
$game_screen.pictures[4].show("c2.png", 0, 0, 27, 100, 100, 100, 0)
$game_screen.pictures[5].show("c2.png", 0, 481, 27, 100, 100, 100, 0)
$game_screen.pictures[6].show("c2.png", 0, 961, 27, 100, 100, 100, 0)
$game_screen.pictures[7].show("c3.png", 0, 0, 72, 100, 100, 100, 0)
$game_screen.pictures[8].show("c3.png", 0, 481, 72, 100, 100, 100, 0)
$game_screen.pictures[9].show("c3.png", 0, 961, 72, 100, 100, 100, 0)
$game_screen.pictures[10].show("c4.png", 0, 0, 97, 100, 100, 100, 0)
$game_screen.pictures[11].show("c4.png", 0, 481, 97, 100, 100, 100, 0)
$game_screen.pictures[12].show("c4.png", 0, 961, 97, 100, 100, 100, 0)
$game_screen.pictures[13].show("c5.png", 0, 0, 112, 100, 100, 100, 0)
$game_screen.pictures[14].show("c5.png", 0, 481, 112, 100, 100, 100, 0)
$game_screen.pictures[15].show("c5.png", 0, 961, 112, 100, 100, 100, 0)
#$game_screen.pictures[].show(name,原点,x,y,放大x,放大y,透明度,合成)
#$game_screen.pictures[].move(时间,原点,x,y,放大x,放大y,透明度,合成)
end
end
打开游戏加载时就提示第一行syntax error [LINE]1,#dddddd[/LINE]
版务信息:本贴由楼主自主结贴~
作者:
八云紫
时间:
2008-11-9 22:33
class Cloud
类名 首字母要大写。 [LINE]1,#dddddd[/LINE]
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
作者:
sdbgejsb
时间:
2008-11-9 22:34
...........................
{/dk}哇哦竟然犯这样错误.....................
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1