Page 1 of 1

Beta3 changes

Posted: 10 Feb 2013, 14:29
by xbx
There were a few changes with manialinks in beta3, So before I forget about them, here they are:

- label attributes "textsize" & "textcolor" were ignored when there was a "style" attrbiute. --> now fixed. But it may break existing ML. just remove the extra attributes "textsize" & "textcolor" to make it work again.

to help with dynamic pages:
- added boolean attributes "textemboss" which does the same has prefixing with "$s", execpt it is forced whether the text contains other $s or not.
- and an attribute textprefix="string" to prefix the label with anything.

for elements "audio"/"video":
- added boolean attribute "music" to say a sound should be played as a music or a sound (and so be controlled by the music slider))
- added real attribute "volume" (default value ".707" aka -3dB)

Re: did you know?

Posted: 10 Feb 2013, 15:21
by m4rcel
  • All visible Controls got the attribute hidden="1", with which these elements will not be visible on loading the ML. You may show them later using ManiaScript.
  • New attribute colorize="R G B" for Quads: Colorizes the specified image, changing the green channel to the color you specified, red and blue channel seems to be translated to gray. R, G and B must be values between 0 and 1, you must always specify all three values.
  • New tags <framemodel> and <frameinstance>: Some kind of class/instance behavior known from OOP, where you cand efine some elements using <framemodel>, and later insert them into the ML using <frameinstance modelid="The-<framemodel>-id".
  • <gauge /> crashes the game when in Manialink browser, see Manialink "CrashIt" :D
Detailled description (German only): See http://www.mania-community.de/showthrea ... #post33315 and the updated first posts of that thread.

Re: Beta3 changes

Posted: 11 Feb 2013, 06:16
by reaby
very nice additions! i will like especially the colorize for quads.