ymin and ymax for player
This commit is contained in:
		| @@ -885,6 +885,7 @@ player = ship_m.new{ | ||||
|  ymomentum = 0, | ||||
|  maxspd = 2.5, -- momentum cap | ||||
|  thrust = 0.25, -- momentum added from button | ||||
|  ymin = 0, ymax = 120, -- stay on screen | ||||
|  drag = 0.125, -- momentum lost per frame | ||||
|  slip = false, -- does not slide down screen | ||||
|  act = function(self)  -- fetch buttons | ||||
|   | ||||
		Reference in New Issue
	
	Block a user