Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumb tint not working with Cocos2d #11

Open
pkasson opened this issue Aug 11, 2014 · 4 comments
Open

Thumb tint not working with Cocos2d #11

pkasson opened this issue Aug 11, 2014 · 4 comments

Comments

@pkasson
Copy link

pkasson commented Aug 11, 2014

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

@nathanday
Copy link
Owner

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.

@nathanday
Copy link
Owner

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 !

@pkasson
Copy link
Author

pkasson commented Aug 17, 2014

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.

@pkasson
Copy link
Author

pkasson commented Aug 19, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants