Beta3 changes

Talk about ManiaLink development in this forum

Moderator: NADEO

Post Reply
User avatar
xbx
Nadeo
Nadeo
Posts: 1289
Joined: 14 Jun 2010, 17:35

Beta3 changes

Post 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)
User avatar
m4rcel
Posts: 650
Joined: 15 Jun 2010, 11:12
Contact:

Re: did you know?

Post 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.
ImageImage
Image
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: Beta3 changes

Post by reaby »

very nice additions! i will like especially the colorize for quads.
Post Reply

Return to “ManiaLink”

Who is online

Users browsing this forum: No registered users and 2 guests