Manialink styles

Talk about ManiaLink development in this forum

Moderator: NADEO

User avatar
Rots
Translator
Translator
Posts: 1165
Joined: 01 Sep 2010, 14:39
Location: España, Barcelona

Re: Manialink styles

Post by Rots »

Thats usefull !

Nicht Deutsch sprechen, aber ich benutze einen Ãœbersetzer :P
Image
Image
Image
TrackMania Original brought me here... Here I am since 2006
User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: Manialink styles

Post by steeffeen »

i know that site and it helped me a lot so far but [EDIT: forget that]
there might be some secret attributes as well which we don't know yet
Last edited by steeffeen on 08 Aug 2013, 13:30, edited 1 time in total.
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    Jojo_44
    Posts: 500
    Joined: 12 Jul 2010, 15:58
    Location: Germany->Bavaria
    Contact:

    Re: Manialink styles

    Post by Jojo_44 »

    steeffeen wrote:
    i know that site and it helped me a lot so far but do you see <gauge> on it anywhere?...
    there might be some secret attributes as well which we don't know yet
    http://www.mania-community.de/showthrea ... inks#gauge
    Image
    my english sounds very unfriendly but it isn´t ;)
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2472
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: Manialink styles

    Post by steeffeen »

    :lol: crap

    sorry, i didn't catch the update xD
    thanks!
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      User avatar
      alividerci
      Posts: 561
      Joined: 11 Feb 2012, 07:03

      Re: Manialink styles

      Post by alividerci »

      steeffeen wrote:
      alividerci wrote:how to change color for energybar
      well if you use the enerybar as gauge:

      Code: Select all

      color="f00f"
      (rgba)
      dont working

      Code: Select all

      <quad color="f00f" posn="0 -80" sizen="80 20" style="EnergyBar" substyle="EnergyBar" halign="center" valign="bottom" />
      User avatar
      steeffeen
      Translator
      Translator
      Posts: 2472
      Joined: 14 Oct 2012, 16:22
      Location: Germany

      Re: Manialink styles

      Post by steeffeen »

      alividerci wrote:dont working

      Code: Select all

      <quad color="f00f" posn="0 -80" sizen="80 20" style="EnergyBar" substyle="EnergyBar" halign="center" valign="bottom" />
      steeffeen wrote:well if you use the enerybar as gauge
      gauge! not quad
      i don't think you want to use a static energy bar, do you?
        Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

        ManiaControl, FancyManiaLinks
        User avatar
        Jojo_44
        Posts: 500
        Joined: 12 Jul 2010, 15:58
        Location: Germany->Bavaria
        Contact:

        Re: Manialink styles

        Post by Jojo_44 »

        steeffeen wrote::lol: crap

        sorry, i didn't catch the update xD
        thanks!
        No problem ;) Btw. you can generate the latest classes/attributes always from the ManiaPlanet.exe. W1lla always has a uptodate version in his signature:

        http://maniascript.tmrankings.com/

        Or if you want to do it yourself, you can simple create a bat file:

        Code: Select all

        cd C:\Program Files (x86)\ManiaPlanet\
        ManiaPlanet.exe /generatescriptdoc=C:\Users\Jojo\Maniaplanet\CreateDocumentation\Foobar.h
        (w1lla just uses doxygen to display the haeder file as a website)

        @eole
        Thank you very much for this :thumbsup: I have seen in manialive that you use for the matchmaking plugin plain png pictures. Is there a reason ? I like the style of the blue metal, any chance to get the psd ?

        regards, Jojo
        Image
        my english sounds very unfriendly but it isn´t ;)
        User avatar
        steeffeen
        Translator
        Translator
        Posts: 2472
        Joined: 14 Oct 2012, 16:22
        Location: Germany

        Re: Manialink styles

        Post by steeffeen »

        i host the classes doc as well: http://maniascript.team-devota.com/annotated.html :lol:
          Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

          ManiaControl, FancyManiaLinks
          User avatar
          askuri
          Posts: 285
          Joined: 18 Oct 2011, 15:01
          Location: Germany

          Re: Manialink styles

          Post by askuri »

          The manialink "styles" is now free. Deleted my one for you ;)

          BTW: That Manialink is AWESOME :3
          GabrielM
          Posts: 243
          Joined: 13 Jan 2012, 16:53

          Re: Manialink styles

          Post by GabrielM »

          Jojo_44 wrote:Thank you very much for this :thumbsup: I have seen in manialive that you use for the matchmaking plugin plain png pictures. Is there a reason ? I like the style of the blue metal, any chance to get the psd ?
          Hello Jojo_44,

          Actually the main difference between *.png and *.dds are the following :

          *.PNG :

          - It's a non-destructive image compression format : no glitch or alteration after compression, exactly the same as the original or uncompressed export.

          - You can use any type of resolution (234*954, 124*755, 513*255...)
          So, pretty convinient if your image is not using a classic ratio and you want to use it to align your text or buttons in it.

          - Your picture file size is much smaller (if it's a simple picture, else prefer *.jpg though you can't have transparency in *.jpg) So it's convinient to use a smaller file if it has to be downloaded on each connexion like a webpage, or if you often update it when developping your mod (ex : for the matchmaking one of the picture is 50ko in *.png and 3mo in *.dds)

          - After download, the picture is converted to a video format in order to be shown on the screen, when you use *.png, it's not compressed, it's has big as a *.tga file, so it takes a lot more video memory space than compressed format.

          - You can use transparency (*.jpg pictures can't).


          *.DDS :

          - It's a destructive compression format (though the quality is quite good)

          - You can NOT use other resolutions than x² resolutions (512*256, 1024*128, 32*32, etc.)

          - Your picture file has the same size on disk (during download) than in video memory, it's in most of the case bigger than a *.PNG. Its size is resolution dependant, whereas for a *.png the size is more "complexity" depedant.

          - You can also use transparency.



          So mainly a *.PNG (or *.jpg) is smaller on disk, but 4 times bigger when used in game in the video memory. Better storage and download / BUT : in-game performance are less good.

          How to do the math :

          *.png on disk : you can't really know, as it depends on the type of picture (simple shapes with not too much color variations, or complicated realistic photos...)

          *.png when used in-game (video memory) : same as a *.tga with alpha channel : (resolutionX * resolutionY) * 5.5

          *.dds on disk AND used in game (video memory) : uncompressed size / 4
          So Size = [(resolutionX * resolutionY) * 5.5]/4

          Results in bytes, divided it by 1024 to have it in Kbytes, and another time by 1024 to have it in Mbytes.



          To give you an idea of sizes when producing interfaces :

          Let's take a really large resolution image file (2048*1024) wich would contain a simple back ground like for a score table.

          DDS : Size on disk 2.7 mo | Size in the video memory 2.7 mo
          en *.PNG : Size on disk 18 ko | Size in the video memory 11 mo

          Best case scenario : the total video memory usage with your pictures interface, would be around 50 mo or less. Critical maximum case would be around 100 mo. This video memory is reset everytime you change environnement, so this memory usage takes in account all pictures you will use in this title-pack, not only picture shown at the same time.
          For example the lobby pictures has to be counted with the elite in-match pictures.
          Picture that were never loaded won't be counted though.

          Hope this helped :) !
          Post Reply

          Return to “ManiaLink”

          Who is online

          Users browsing this forum: No registered users and 1 guest