GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Problem with constrain and release outside

Benjamin_m5Benjamin_m5 Posts: 646Member
edited April 2012 in Working with GS (Mac)
Hey there everybody

I'm working very hard on my new game. Now I've a little problem with a constrain behavior.

Constrain behaviors:

max((0+( self.Size.Width /2)),min((320-( self.Size.Width /2)), game.Mouse.Position.X ))
max((304+( self.Size.Height /2)),min((480-( self.Size.Height /2)), game.Mouse.Position.Y ))

Now when I release my actor outside this area (X0-320 and Y304-480) it won't fall to the ground.

I described my problem in a short video here too:


I hope someone can help me :)
---
Benjamin

Answers

This discussion has been closed.