Paste: platform collision

Author: tcql
Mode: lua
Date: Tue, 25 Dec 2012 20:20:09
Plain Text |
	onUpdate = function(self,elapsed)
		if self.player.velocity.y >= 0 then
			self.platforms:collide(self.player)
		end
	end

New Annotation

Summary:
Author:
Mode:
Body: