Need help with scrolling/dragging background iphone

Previous topic - Next topic

freshworks

Hi,

Searching for an code example on how to scroll a background / level map / sprite with the touch/drag of a finger in the direction X, Y where the screen is bigger then the iphone 480 * 320 resolution itself.

Eventually there will be sprite what will be moving on the touch of a finger from Xold to Xnew and when it reaches x% of the resolutions border the background needs to scroll too.

Couldn't find anything on this forum so far

Erhmmm hope it's clear :)

i would love to accomplish something like this : http://www.youtube.com/watch?v=JVowHErySnc


Thanks,
Freshworks

MrTAToad

Shame he didn't release the source code...

freshworks

Hi,

i've tried the example you shared and that's exact what i need. To implement the mouse handlers on it, won't be so hard, lot's of examples on the forum.

Thanks, thanks