Camera stops when touch is released when using large scenes

nporimanporima Member, PRO Posts: 27
Hey Everyone,
I have a landscape scene twice the width and twice the height of the iPhone 4 screen dimensions. When the actor is activated by 'touch' and dragged across the scene, the camera follows the actor in every direction for the full width and height of the scene without any problems. But as soon as 'touch' is released the camera gets disconnected and the scrolling screen stops dead in it's tracks however the actor can still be dragged around but only inside the confines of the 640x960 screen where the camera stopped.

I had a look at the tutorial video that tshirtbooth produced demonstrating the same scenario except when he dragged the actor around the full scene, he didn't pause or stop/start the actor. I wonder if the camera would've stopped if he paused or released the actor.

I also notice that some users had similar problems where the camera stopped working when the game was paused and was thought to be a bug. Can someone shed some light on this issue or provide an update or an answer?

Thanks

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited August 2013
    Did you add the camera offset like shown in that video? make sure the camera and offset is not in a touch is pressed rule. aslo the actor should control the camera location not the mouse.
  • nporimanporima Member, PRO Posts: 27
    It works using the camera offset with mouse down as shown in the video however I need to use the touch option to pick up individual actors such as platforms and place them strategically within the scene one by one in a similar manner to that used in the bubble ball game.
  • nporimanporima Member, PRO Posts: 27
    I finally got it to work now. I had a game attribute with the same name in a lower level of the game that was conflicting with the scene attribute on this level.
Sign In or Register to comment.