在 Level Helper 和 Sprite Helper 的帮助下,我开始在 Corona SDK 上制作游戏。我已经使用了这个视频教程,所有的事情都和视频中的完全一样,但是我有这个错误。我不明白为什么。
File: ...DK Projects/Runner/LevelHelper/LevelHelperLoader.lua
Line: 743
stack traceback:
[C]: ?
...DK Projects/Runner/LevelHelper/LevelHelperLoader.lua:743: in function 'createAllNodes'
...DK Projects/Runner/LevelHelper/LevelHelperLoader.lua:150: in function 'instantiateObjects'
...slav/Documents/Corona SDK Projects/Runner/level1.lua:34: in function <...slav/Documents/Corona SDK Projects/Runner/level1.lua:29>
?: in function 'dispatchEvent'
?: in function 'gotoScene'
...heslav/Documents/Corona SDK Projects/Runner/menu.lua:22: in function '_onRelease'
?: in function '?'
?: in function <?:371>
?: in function <?:218>
Attempt to index field 'lhNodes' (a nil value)
你能告诉我我做错了什么吗?