Coverflow Snap to Center
sparkzilla
Member Posts: 152
I got Tshirtbooths coverflow demo working and added an interpolate based on camera position to make the actor grow when it moves into the centre of in the screen. Does anyone know how to make it more sticky/snap to centre as it moves into the centre?
__________________
Coming Soon!: Sweepr
__________________
Coming Soon!: Sweepr
Comments
DL
Thats how i do it in mine, tshirt can probably help you more though since your using his system
cheers
__________________
Coming Soon!: Sweepr
This is a easy way to do it though spark if youd like
you interpolate the camera actor to the position over the level select box when its position is < but greater then the position just before and after the first box, then do that for the rest.
Ill give u an example, now these numbers wont be right youll have to play around im just using these to show you how it would work.
Say you have your first level select box at x position 20 and the second at x position 50
In the camera actor have a rule when self position x >15 but <25 interpolate self position x to 20 (since thats where the first box is)
Then your next rule for the second box have another rule in the camera actor when self position x > 45 but < 55 interpolate self position x to 50 (since thats where the second one is)
Again thats not how tshirt does it but ive done it like this before and it works. Hope it helps
JP how do you do your dragging?
__________________
Coming Soon!: Sweepr