touch X Y in a scene larger than 320x480
POM
Member Posts: 2,599
hey guys i came across a big problem in the game im working on,
my scene size is 1000x1000 , and some actors have a rule,
constrain self.position X Y to touch X Y.
but if the camera is not at the left bottom corner, the rule dont apply,
its like touch.x y attribute values are limited to 320 480.. and if the touch is at position
600x650 of the scene , it acts like the touch is at 400x270 (in the camera area)
How can i fix it?! my hole gameplay depend on it =/
my scene size is 1000x1000 , and some actors have a rule,
constrain self.position X Y to touch X Y.
but if the camera is not at the left bottom corner, the rule dont apply,
its like touch.x y attribute values are limited to 320 480.. and if the touch is at position
600x650 of the scene , it acts like the touch is at 400x270 (in the camera area)
How can i fix it?! my hole gameplay depend on it =/
Comments
ill take a look right away