Thats usefull !
Nicht Deutsch sprechen, aber ich benutze einen Ãœbersetzer
Manialink styles
Moderator: NADEO
Re: Manialink styles
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.
Re: Manialink styles
http://www.mania-community.de/showthrea ... inks#gaugesteeffeen 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
Re: Manialink styles
crap
sorry, i didn't catch the update xD
thanks!
sorry, i didn't catch the update xD
thanks!
- alividerci
- Posts: 561
- Joined: 11 Feb 2012, 07:03
Re: Manialink styles
dont workingsteeffeen wrote:well if you use the enerybar as gauge:alividerci wrote:how to change color for energybar(rgba)Code: Select all
color="f00f"
Code: Select all
<quad color="f00f" posn="0 -80" sizen="80 20" style="EnergyBar" substyle="EnergyBar" halign="center" valign="bottom" />
Re: Manialink styles
alividerci wrote:dont workingCode: Select all
<quad color="f00f" posn="0 -80" sizen="80 20" style="EnergyBar" substyle="EnergyBar" halign="center" valign="bottom" />
gauge! not quadsteeffeen wrote:well if you use the enerybar as gauge
i don't think you want to use a static energy bar, do you?
Re: Manialink styles
No problem Btw. you can generate the latest classes/attributes always from the ManiaPlanet.exe. W1lla always has a uptodate version in his signature:steeffeen wrote: crap
sorry, i didn't catch the update xD
thanks!
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
@eole
Thank you very much for this 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
Re: Manialink styles
i host the classes doc as well: http://maniascript.team-devota.com/annotated.html
Re: Manialink styles
The manialink "styles" is now free. Deleted my one for you
BTW: That Manialink is AWESOME
BTW: That Manialink is AWESOME
Re: Manialink styles
Hello Jojo_44,Jojo_44 wrote:Thank you very much for this 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 ?
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 !
Who is online
Users browsing this forum: No registered users and 1 guest