The Daily Click ::. Forums ::. Klik Coding Help ::. Is it possible to make an RGB slider with HWA?
 

Post Reply  Post Oekaki 
 

Posted By Message

JetpackLover



Registered
  01/03/2007
Points
  212
26th March, 2012 at 26/03/2012 20:52:32 -

I want to allow the player to change the color of their main outfit and I'd like to make it so they can easily change it using a slider. Is this possible in MMF?


 
http://www.invincibletime.com/

Devlog for HD MMF Game Omulus. Check it out because it's gonna be awesome. http://omulus.tumblr.com/

Follow me on the twitters https://twitter.com/JetpackLover


GamesterXIII



Registered
  04/12/2008
Points
  1110

I am an April Fool
27th March, 2012 at 27/03/2012 00:50:49 -

complex.softwares.free.fr

Download the shaders pack. The Hue shader is probably your best bet. I dunno how to make a windows slider, but you should be able to create your own in 2-3 lines of code using active objects and mouse controls.



 
n/a

nim



Registered
  17/05/2002
Points
  7234
27th March, 2012 at 27/03/2012 01:08:38 -

You can make a slider control pretty easily. Gamester's suggestion is good, or there's also a Colorizer object with a Hue control that would work too. Changing the sprite's colour will be your next problem

 
//

JetpackLover



Registered
  01/03/2007
Points
  212
27th March, 2012 at 27/03/2012 01:30:26 -

Do any of these techniques mean the thing that I want to change the color of will have to be a separate object?

For example:

To change the color of the jacket it must be a separate object.

Or is there a way to change it based on the palette?

 
http://www.invincibletime.com/

Devlog for HD MMF Game Omulus. Check it out because it's gonna be awesome. http://omulus.tumblr.com/

Follow me on the twitters https://twitter.com/JetpackLover


nim



Registered
  17/05/2002
Points
  7234
27th March, 2012 at 27/03/2012 06:30:10 -

You can use MMF's "Replace Colour" function.

 
//

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
28th March, 2012 at 28/03/2012 14:57:49 -

How did you go DudeHuge?

 
n/a

JetpackLover



Registered
  01/03/2007
Points
  212
27th August, 2012 at 27/08/2012 21:26:34 -

Necro reply. It went well I ended up using color replace so that you can change every color on the sprite with an RGB slider. Pretty cool. I can't post what I came up with because I am using it for a game I am planning on releasing soon but here is a screenshot. Image There are still some bugs but it functions the way I intended.

Oh quick question. Do you guys think it would be too overwhelming to allow the player to change all the colors of your character? Or should I break up the colors into groups. For example Base color, Shade color and highlight color for the jacket would become one group called "Jacket" Instead of changing those individually you would change all 3 colors uniformly. What do you think?

Edited by JetpackLover

 
http://www.invincibletime.com/

Devlog for HD MMF Game Omulus. Check it out because it's gonna be awesome. http://omulus.tumblr.com/

Follow me on the twitters https://twitter.com/JetpackLover


Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
28th August, 2012 at 28/08/2012 00:24:05 -

Definitely break it up. Jacket, hair, pants and shirt. You could include the "customise each individual colour" feature as an unlockable.

 
n/a

JetpackLover



Registered
  01/03/2007
Points
  212
28th August, 2012 at 28/08/2012 17:52:26 -

Well that settles it I'll break it up and make customize each color as an unlockable. Thanks!

 
http://www.invincibletime.com/

Devlog for HD MMF Game Omulus. Check it out because it's gonna be awesome. http://omulus.tumblr.com/

Follow me on the twitters https://twitter.com/JetpackLover

   

Post Reply



 



Advertisement

Worth A Click