Page 1 of 1

Types of layers

Posted: 20 Jul 2016, 02:00
by Dommy
(Don't ask me why I'm writing a question about MS at 3 AM)

I'm interested what are some kinds of layers doing:

CutScene - when is it shown?
EditorPlugin - is it really necessary? Afaik normal layers are visibke in editor plugins without any problems.
ManiaplanetMenu - where is it shown?
LoadingScreen - does that even work?

So far, i know as much as this:

Code: Select all

enum EUILayerType { 
  Normal, // nothing else, but a normal manialink
  ScoresTable, // visible when holding tab
  ScreenIn3d, // displayed on the spawn screen
  AltMenu, // visible when holding alt
  Markers, // set of frames used as markers
  CutScene,
  InGameMenu, // replaces the default pause menu
  EditorPlugin, 
  ManiaplanetPlugin, // in plugins, frame attached to status bar
  ManiaplanetMenu,
  LoadingScreen 
}

Re: Types of layers

Posted: 20 Jul 2016, 09:55
by Gugli
Hi,

Every hour is a good hour to write questions about Manialink. xD

From what I know :

CutScene : shown during MediaTrack animations. Not sure if it works though.

EditorPlugin : There's a feature that allows you to offset a plugin in the Editor, available for these layers only. (to solve cases when you installed 2 plugins made by different people, but they both show a dialog box at the same screen location)

ManiaplanetMenu - This layer is used when making a title menu to have the nicer "3d boxes" look, instead of the regular Manialink "flat" look

LoadingScreen : Should work, provided you filled this layer before the loading starts

Hope it helps

Re: Types of layers

Posted: 20 Jul 2016, 10:01
by reaby
LoadingScreen : Should work, provided you filled this layer before the loading starts
Does it work also from xmlrpc layer="LoadingScreen" , since this would be the most proper way to do a Loading Screens, maybe i just test to see :D

Re: Types of layers

Posted: 20 Jul 2016, 10:14
by reaby
Hmm.. Unfortunately at my test, it draws it to normal layer.
Hopefully this gets fixed :thumbsup: