Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Madgeniy on December 14, 2012, 05:56:51 AM

Title: Inertia of draggableCamera
Post by: Madgeniy on December 14, 2012, 05:56:51 AM
Hello. I use UIDRaggableCamera. I have an issue: when I use iOS build all works fine, but when I use editor scroll doesn't have an inertia in mode "none" and "momentum". What can be wrong?
Title: Re: Inertia of draggableCamera
Post by: ArenMook on December 14, 2012, 07:26:11 AM
It's not supposed to have inertia in "none".

I recommend you use a draggable panel instead of the draggable camera approach. Clipped panels have more features when it comes to scroll views than the camera-based approach.
Title: Re: Inertia of draggableCamera
Post by: Madgeniy on December 15, 2012, 01:43:20 AM
Yes, but it doesn't work on iPad 1 with antialiasing.
And, if I use example 8 and turn on "none" mode, camera has inertia when I finish to drag it's content by mouse in range of left and right bounds.
Title: Re: Inertia of draggableCamera
Post by: Madgeniy on December 15, 2012, 06:54:06 AM
So, it's very strange, but I found that camera has inertia when my game is not full screen. I can't undestand this behaviour. Can you help me with it?
Title: Re: Inertia of draggableCamera
Post by: ArenMook on December 15, 2012, 04:00:29 PM
As I said I recommend you use a draggable panel instead. Camera-based approach has a lot of limitations.
Title: Re: Inertia of draggableCamera
Post by: Madgeniy on December 19, 2012, 04:56:13 AM
Thanks, but it doesn't support by iPad1.
Title: Re: Inertia of draggableCamera
Post by: ArenMook on December 19, 2012, 09:31:19 AM
Sure it does. iPad1 has shaders. You must build for ARMv7 / GLES 2.0.
Title: Re: Inertia of draggableCamera
Post by: Madgeniy on June 03, 2013, 09:03:48 AM
Yes, but I need anti-aliasing, it doesn't work in such mode.