Page 1 of 1

Recolourable main character for the level designer

PostPosted: Sun Mar 29, 2015 12:09 am
by -BY
Imagine a monochromatic world, the main character would suit perfectly into, if it got the correct colour.

Re: Recolourable main character for the level designer

PostPosted: Sun Mar 29, 2015 3:15 am
by AwesomeJRFD
There were many times where I wished I had the ability to color the player.

Some uses that I can think of:
  • Turn saturation to 0 for monochrome levels (as you mentioned).
  • Turn down the brightness for dark levels.
  • Make the hue increment on a loop for rainbow/invincibility.
  • Set alpha to 0 for an invisible player, which would make custom player sprites not require a solid color background.
  • Turn alpha down to 50 or so for "invisibility" powerups.
  • Basically any situation where the current sprite clashes with a stylized environment.

Re: Recolourable main character for the level designer

PostPosted: Sun Mar 29, 2015 5:39 pm
by Triple J
I swear, this must be programmed into CH3.

Just please don't taunt me with more examples, okay? :3

Re: Recolourable main character for the level designer

PostPosted: Sun Mar 29, 2015 6:52 pm
by lulzaraptor
AwesomeJRFD wrote:There were many times where I wished I had the ability to color the player.

Some uses that I can think of:
  • Turn saturation to 0 for monochrome levels (as you mentioned).
  • Turn down the brightness for dark levels.
  • Make the hue increment on a loop for rainbow/invincibility.
  • Set alpha to 0 for an invisible player, which would make custom player sprites not require a solid color background.
  • Turn alpha down to 50 or so for "invisibility" powerups.
  • Basically any situation where the current sprite clashes with a stylized environment.


The current build has more control than that.
Spoiler: show
Image


We've also been testing HSL control for segments of sprites. So you can have pallet swaps that only affect select segments of the sprites. You'll have to wait a bit for an example of this, the only demo I have shows too much.

Furthermore, if you like programming, all shaders are overwriteable.