Not sure if I’m using the right approach here but here’s my idea.
Basically I’ve created a vertical scrollview and added an object to it (for now just a ball) and the scrolling works just fine. I want to be able to scroll the view as normal with a standard touch and drag but I also want some sort of camera control so when the ball moves a camera will follow it and scroll the view as necessary.
I’ve taken a look at the EggBreaker example and that’s exactly the type of thing I’d like to implement but I notice there’s no scrollview in that game. I did try and implement the code that the EggBreaker game uses but the camera doesn’t follow the ball and I can only presume it’s because I’m using a scrollview.
It might be that a scrollview isn’t the way to go but I do want the user to be able to be able to scroll manually upwards to see all of the scene as well as follow the ball when it moves by itself.
Any help would be much appreciated…thanks. [import]uid: 107915 topic_id: 34527 reply_id: 334527[/import]