[Req] Colorize quads Styles/Substyles

Talk about ManiaLink development in this forum

Moderator: NADEO

Post Reply
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

[Req] Colorize quads Styles/Substyles

Post by w1lla »

Hi,

a request i wish to see:

Now with colorize its possible to colorize the image and with bgcolor the background color which doesn't seem to work properly. However it should be possible to colorize the styles/substyles of a quad so that you can have a White HgHealthbar for instance. Or i might be doing something wrong :P

Code: Select all

<quad posn="-70 -'. (13 * $line-12) .' 0.05" sizen="120 10" style="Bgs1" colorize="FFF" substyle="BgHealthBar" />
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
User avatar
noyranea
Nadeo
Nadeo
Posts: 187
Joined: 29 Apr 2014, 14:50
Location: Paris, France

Re: [Req] Colorize quads Styles/Substyles

Post by noyranea »

Hi W1lla,

the colorize quad attribute does actually work on styles, but it can only colorize and darken your style :
  • colorize="FFF" will never change your style or image's color.
  • colorize="000" will always turn it black
  • colorize="F00" will make it red
  • etc...
The best thing you can do for now is to find a white background image or style that fits your needs (you'll be able to colorize it with the color of your dreams). I hope it's enough for you to make what you need.

Have a nice day,

-- noyranea
Post Reply

Return to “ManiaLink”

Who is online

Users browsing this forum: No registered users and 1 guest