Touch AND Collide
allaboutiweb
Member Posts: 42
Is it possible (and if so, how) to apply the collision rule to an item I am dragging around the screen. For example, if I have a player who can be dragged around the game screen and I have walls around the edge of that screen why does it keep shooting off the edge rather than bounce off the walls?
Is it possible to constrain the player to min/max X and Y co-ordinates?
I really would appreciate some help on this as it is all that is stopping me from finishing my first game; artworks finished, tunes are written, funky menus are working......
Is it possible to constrain the player to min/max X and Y co-ordinates?
I really would appreciate some help on this as it is all that is stopping me from finishing my first game; artworks finished, tunes are written, funky menus are working......
Comments
That is fantastic, so conversely I can also tell it if mouse position y is greate than 10 and less than 230 constrain to touch! Why oh why did I not see that?
Thank you soooooo much.