sharpiepoop icon

Old flying sample

sharpiepoop | PRO | 10/22/13 11:20:40 PM UTC | 0 ⭐ | 222 👁️ | Never ⏰ | []
text |

300 B

|

None

|

0 👍

/

0 👎

-- 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