small problem :)

Non-platform specific questions.

small problem :)

Postby alexandrefredenucci » Sun Aug 22, 2010 4:46 pm

Hi all,

I want change the constrast of several sprites

i found how change the contrast for one sprite :
Background.r-=2;
Background.b-=2;
Background.g-=2;

i tried to change two sprites, but only one sprite change :/
Background, floor.r-=2;
Background, floor.b-=2;
Background, floor.g-=2;

Please help ! ^^

Thanks
alexandrefredenucci
 
Posts: 58
Joined: Wed May 12, 2010 7:33 am
Location: France
Score: 15 Give a positive score

Re: small problem :)

Postby jimmynewguy » Sun Aug 22, 2010 8:34 pm

Background.r=floor.r-=2;
Background.b=floor.b-=2;
Background.g=floor.g-=2;
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: small problem :)

Postby alexandrefredenucci » Sun Aug 22, 2010 9:23 pm

Thx man :wink:
alexandrefredenucci
 
Posts: 58
Joined: Wed May 12, 2010 7:33 am
Location: France
Score: 15 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest