このコードを使用して、時間の経過とともに math.random を増加させようとしています:
testa = 100
testb = 150
badclouts:setLinearVelocity(0, math.random(.. testa, .. testb)) -- Drop down
local function speatTimer()
testa = testa+1
testb = testb+1
--print("testa " .. testa)
--print("testb " .. testb)
end
local mainTimer = timer.performWithDelay( 1000, speatTimer, 500 )
しかし、 badclouts:setLinearVelocity(0, math.random(.. testa, .. testb))で「予期しないシンボル」エラーが発生する- ドロップダウン
どうすればこれを修正できますか?