random logic remove
This commit is contained in:
parent
8233847f46
commit
7ef36d98f2
3 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ _M.State = {
|
||||||
"MainbraceMayhemTopOfRope.lsmv", -- [6]
|
"MainbraceMayhemTopOfRope.lsmv", -- [6]
|
||||||
}
|
}
|
||||||
|
|
||||||
_M.Filename = _M.PoolDir .. _M.State[1]
|
_M.Filename = _M.PoolDir .. _M.State[6]
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
Start game with specific powerup.
|
Start game with specific powerup.
|
||||||
|
@ -43,7 +43,7 @@ _M.StartPowerup = 0
|
||||||
_M.NeatConfig = {
|
_M.NeatConfig = {
|
||||||
DisableSound = true,
|
DisableSound = true,
|
||||||
Threads = 7,
|
Threads = 7,
|
||||||
ShowInterface = true,
|
ShowInterface = false,
|
||||||
--Filename = "DP1.state",
|
--Filename = "DP1.state",
|
||||||
SaveFile = _M.Filename .. ".pool",
|
SaveFile = _M.Filename .. ".pool",
|
||||||
|
|
||||||
|
|
BIN
pool/MainbraceMayhemTopOfRope.lsmv
Normal file
BIN
pool/MainbraceMayhemTopOfRope.lsmv
Normal file
Binary file not shown.
|
@ -640,7 +640,7 @@ local function mainLoop(_M, genome)
|
||||||
|
|
||||||
-- Continue if we haven't timed out
|
-- Continue if we haven't timed out
|
||||||
local timeoutBonus = _M.currentFrame / 4
|
local timeoutBonus = _M.currentFrame / 4
|
||||||
if _M.timeout + timeoutBonus > 0 or _M.currentFrame % 5 ~= 0 then
|
if _M.timeout + timeoutBonus > 0 then
|
||||||
return mainLoop(_M, genome)
|
return mainLoop(_M, genome)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue