Skip to content

How to Constrain a paddle inside the play area in gamesalad

$0.00

paddle.zip

Download
Sold By:: GSHelper Categories: ,

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.

 

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.