Touch question
ZackGS
Member Posts: 313
I have an actor spawn when i touch the background image. It works fine.
Providing the background is 480x320 that is. I made my background 960x320 and changed the scene size to match (as i want it to scroll). It scrolls fine but once i pass the 480 mark, my touch is no longer responsive and is like tied to 0 > 480 ....... The actors spawn when it is past 480 still, however not relative to my touch position, they spawn from 480 (ie edge of screen) forward, not where i am clicking... This behavior only happens when i pass the 480px mark...
Any ideas?
Providing the background is 480x320 that is. I made my background 960x320 and changed the scene size to match (as i want it to scroll). It scrolls fine but once i pass the 480 mark, my touch is no longer responsive and is like tied to 0 > 480 ....... The actors spawn when it is past 480 still, however not relative to my touch position, they spawn from 480 (ie edge of screen) forward, not where i am clicking... This behavior only happens when i pass the 480px mark...
Any ideas?
Comments
Any ideas for a workaround?
and coding your spawn with position > game.Touches.Touch1.X [e]
and position ^ game.Touches.Touch1.Y [e] might help.
Relative to scene.
of course anything else with Touch; use touch inside for those actors.
MH
Issue is resolved now, I decided against scrolling and have redesigned the game to suit.
Thanks