HERE IS THE MATH
max((0+( self.Size.Width /2)),min((320-( self.Size.Width /2)), game.Mouse.Position.X ))
This is how you would constrain a paddle inside the play area in gamesalad.
HERE IS THE MATH
max((0+( self.Size.Width /2)),min((320-( self.Size.Width /2)), game.Mouse.Position.X ))
This is how you would constrain a paddle inside the play area in gamesalad.
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.