-- Very simple key handling (space)
tfm.exec.newGame("#17")
tfm.exec.setGameTime(60, true)
function eventNewGame()
for p,_ in pairs(tfm.get.room.playerList) do
tfm.exec.bindKeyboard(p,32,true)
end
end
function eventKeyboard(p,k)
--print(k)
tfm.exec.movePlayer(p,0,0,true,0,-50,true)
end
Comments