control camera when touch?

AquariusAquarius Member Posts: 282
edited November -1 in Working with GS (Mac)
i think i seen a tut on this but not sure i remember where lol

basically i want the camera to follow my touch then when i release touch, it stops. i'm sure i can spawn a camera controlling actor when touch but the whole spawning and destroying thing sucks up ram.

or should i have an already spawned invisible actor the jumps to touch position when touch is pressed?

and then have that actor control the camera?
thanks guys...

Comments

  • AquariusAquarius Member Posts: 282
    pretty much like BUMPS, except panning instead of zooming . i'm pretty sure i explained it well lol
  • AquariusAquarius Member Posts: 282
    bump
  • DreamLabDreamLab Member Posts: 2,127
    Please don't bump your thread after a couple hours. Im sure if someone knows the answer they will give it to you. otherwise
    ask darren for yourself

    http://gamesalad.com/forums/topic.php?id=21223
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    try just having a camera controlling actor in your scene set to invisible and just constrain its position to mouse.x and mouse.y and then control camera when touch is inside once it pops over to where your finger is it should start controlling the camera. I haven't tried it but that sounds logical to me.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Oh and bumps camera is controlled by each bump when they are touched so I don't think thats quite the same as what you are wanting
  • GLGAMESGLGAMES SingaporeMember Posts: 988
    what abt camera track area changed with touch x,y?
Sign In or Register to comment.