因此,我尝试了一切似乎无法使图像占用全屏并居中的图像。我附上了图像,以及当我在电晕上运行时的外观。提前 local background = display.newImageRect("bg.png",
display.contentCenterX, display.contentCenterY)
感谢您的帮助: 我尝试这样做,我得到了什么连接! background image how i
我对Lua相当陌生,在我的代码中一个特定的命令一直在导致我一些主要问题。 我一直在试图取消计时器: currentPuddleDelay = timer.performWithDelay(puddleDelay, createPuddle);
,我显示的错误是: Attempt to index a nil value
File: ?
stack traceback:
?: in f
我正在创建类似于Mario Brothers的一些平台游戏类型的游戏,并且遇到了一个大问题。我的问题是,当我点击我的方向键并将其拖出时,尽管我已经释放了点击,但角色仍在移动。我已经在Corona论坛发布了这个问题,但我还没有找到解决方案。 这里是我的代码: local function makeControls(event)
if anim.isJumping == false then