ndrotator
ndrotator copied to clipboard
Thumb tint not working with Cocos2d
Hi,
Have only been working with Cocos2 for about 2 months now, and like your rotator widget - and using it in my game. The problem is that the thumb tint stays grey no matter what code I try.
Is there some special color handling that would need to be done in a Cocos2D environment ?
Great component !
Thanks,
Peter
Sorry I am not going to be able to look at this until the weekend
Sent from my iPhone
On 12 Aug 2014, at 12:13 am, Peter Kasson [email protected] wrote:
Hi,
Have only been working with Cocos2 for about 2 months now, and like your rotator widget - and using it in my game. The problem is that the thumb tint stays grey no matter what code I try.
Is there some special color handling that would need to be done in a Cocos2D environment ?
Great component !
Thanks,
Peter
— Reply to this email directly or view it on GitHub.
I haven’t used Cocos2 so I don’t know about any issues to do with Cocos2. Grey is the default colour, you could try changing NSRotor to default to the colour you want. Sorry I can’t help you any more than that.
On 12/08/2014, at 12:13 am, Peter Kasson [email protected] wrote:
Hi,
Have only been working with Cocos2 for about 2 months now, and like your rotator widget - and using it in my game. The problem is that the thumb tint stays grey no matter what code I try.
Is there some special color handling that would need to be done in a Cocos2D environment ?
Great component !
I did try to change the color and it is not working - probably due to Cocos2D. Thanks for the reply !
Date: Sun, 17 Aug 2014 02:26:53 -0700 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [ndrotator] Thumb tint not working with Cocos2d (#11)
I haven’t used Cocos2 so I don’t know about any issues to do with Cocos2. Grey is the default colour, you could try changing NSRotor to default to the colour you want. Sorry I can’t help you any more than that.
On 12/08/2014, at 12:13 am, Peter Kasson [email protected] wrote:
Hi,
Have only been working with Cocos2 for about 2 months now, and like your rotator widget - and using it in my game. The problem is that the thumb tint stays grey no matter what code I try.
Is there some special color handling that would need to be done in a Cocos2D environment ?
Great component !
— Reply to this email directly or view it on GitHub.
So now I am trying to update the value on the rotator but the dial does not move when set.
I am using this rotator for angle/velocity on a shooting game, and keeping the last values the user used when its their turn again. I capture the angle on last use and try to set the rotator to this value. However, the rotator does not move ...
I have tried using setValue and setAngle to no avail.
Thanks.
On Aug 17, 2014, at 5:26 AM, Nathan Day [email protected] wrote:
I haven’t used Cocos2 so I don’t know about any issues to do with Cocos2. Grey is the default colour, you could try changing NSRotor to default to the colour you want. Sorry I can’t help you any more than that.
On 12/08/2014, at 12:13 am, Peter Kasson [email protected] wrote:
Hi,
Have only been working with Cocos2 for about 2 months now, and like your rotator widget - and using it in my game. The problem is that the thumb tint stays grey no matter what code I try.
Is there some special color handling that would need to be done in a Cocos2D environment ?
Great component !
— Reply to this email directly or view it on GitHub.