[DEMO] Momentum/Inertia Scroll with Grid Snap

netdzynrnetdzynr Member Posts: 296
edited November -1 in Working with GS (Mac)
For folks looking for a way to do momentum scrolling (sometimes called inertia scrolling or weighted scrolling), I posted a game project that demonstrates one method of doing this. Momentum scrolling occurs when you drag a set of items in a direction and the set gradually slows to a stop (like most lists on the iPhone/iPod Touch). This project has a bunch of hard coded attributes and is not easily customized, but is available to take apart for anyone who is feeling brave. I hope to make a more easily used version at some point with attributes that are more "fill-in-the-blank" but it's a fairly complex routine.

Unfortunately, the project is iPad sized and Creator won't let me publish it to the GS site, so you'll have to download it from here.

Feel free to use wherever.

Comments

Sign In or Register to comment.