Hi guys. I'm new here. I study some things about TAS, but I never make a movie. I want to make a TAS of Human Cannonball (Atari 2600) and I'm looking for some trips. I already have a source code in lua with a test version. The last input occur in frame 1946 and I don't know to improve this. I don't know how to use TAStudio. I always use Lua Console.
--Functions Section
function endGame()
while true do
emu.frameadvance()
end
end
function startGame()
client.reboot_core()
end
function frameAdvance(num)
for v0 = 1, num do
emu.frameadvance()
end
end
function pressLeftAndReset()
joypad.set({["P1 Left"] = true, ["Reset"] = true})
end
function pressP1Button()
joypad.set({["P1 Button"] = true})
end
function pressP1Left()
joypad.set({["P1 Left"] = true})
end
---------------------------------------------------------------------
--Main Function Section
function main()
startGame()
frameAdvance(1)
pressLeftAndReset()
frameAdvance(2)
pressP1Button()
frameAdvance(200)
pressP1Left()
frameAdvance(123)
pressP1Button()
frameAdvance(324)
pressP1Button()
frameAdvance(80)
pressP1Left()
frameAdvance(244)
pressP1Button()
frameAdvance(324)
pressP1Button()
frameAdvance(324)
pressP1Button()
frameAdvance(324)
pressP1Button()
end
---------------------------------------------------------------------
--Code Section
main()
client.pause()
---------------------------------------------------------------------
--Do not remove this function!
endGame()