Joystick Control(Demo) by CodeMonkey

7thSkull7thSkull Member Posts: 10
edited November -1 in Working with GS (Mac)
hello CodeMonkey

okay, your joystick demo works very fine!!!
but, how can make, the player dont go out of the screen?
i try it in combination whit your screen fix template, this does not work. i try it whit som collide behavior, that allso don't work.

is it possibly to define the maximum position of -x/+x and -y/+y?

cheers

Michael

Comments

  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Hey 7thSkull,

    The EASIEST way to stop it from leaving the area is to make some actors that act as walls that have the collide behavior. Make them not movable (in its attributes Physics->Movable).
Sign In or Register to comment.