GLBasic forum

Main forum => GLBasic - en => Topic started by: mentalthink on 2010-Dec-16

Title: About Rotate Screen on iPad
Post by: mentalthink on 2010-Dec-16
Hi, guys, I have a doubt about to rotate the screen on iPad, I read a bit how make it, but I´ve got a doubt:
When I rotate the screen, if I´ve got an example, a image on 300,200 on Pos 1, when I turn the screen this image is equivalent position in this new rotation of screen.

Example:
if I got a collision on position X=100 and y=100 when I turn the screen to the opossite position this same command (sprcoll) whit coordinates x=100 and y=100 works, or I have to put the value of the new position of screen, (768-100 on X) and (1024-100 on Y) 

PS: The position in this example is Portrait

Kind Regards,
Iván J.
Title: Re: About Rotate Screen on iPad
Post by: Kitty Hello on 2010-Dec-17
sprcoll is just "virtual", so yes, it works.