This looks great, thanks RipperR for typing that up! I'll give that a try soon.
Thanks for trying out Tomb of Twelve also.
if(Xaxis > 2500) //Joystick is pushed right
{
Player.x += 5;
}
else
if(Xaxis < 2500) //Joystick is pushed Left
{
Player.x -= 5;
}
else
if(Yaxis > 2500) //Joystick is pushed down
{
Player.y += 5;
}
else
if(Yaxis < 2500) //Joystick is pushed up
{
Player.y -= 5;
}
Users browsing this forum: No registered users and 1 guest