【ツ】GS DEMO - Cover Flow
MarkOnTheIron
Member Posts: 1,447
Hi,
I was working on a game that needed a cover flow effect in a level selection scene. I checked some demos that I saw here but they didn't worked well for my game. So I started by one of those and made one on my own. It's working pretty good so I decided to share it with you.
Here it is:
https://dl.dropbox.com/u/8244920/CoverFlow.zip
I was working on a game that needed a cover flow effect in a level selection scene. I checked some demos that I saw here but they didn't worked well for my game. So I started by one of those and made one on my own. It's working pretty good so I decided to share it with you.
Here it is:
https://dl.dropbox.com/u/8244920/CoverFlow.zip
Comments
At the moment the scrolling is directly linked to the touch/mouse position. To slow it down you need to go to the Camera actor and change this expression in the first Constrain Attribute behaviour:
With this:
You can change the 0.2 value to anything from 0 (no movement at all ) to 1 (like the original expression) to ∞ (this may cause your device to warp you to another universe).
On more thing, After the user lets up the mouse button, I want the boxes to continue moving and decelerating for about .4 seconds before snapping to whichever box is closest.
How would you do that?
Thanks,
- Thomas