As topic says ...
It would be great if you have images as interface object instead of only buttons or checkboxes.
These can be limited to 64x64 or even 32x32 ...
Like the building menu.
game.player.gui.center.add{type="picture", [...]}
Re: game.player.gui.center.add{type="picture", [...]}
You can style gui elements to have picture, but yea it would be convient if you could add "icon"-key to gui element. Atleast it would make test mod look better and remove the need of creating style for every item.
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Re: game.player.gui.center.add{type="picture", [...]}
which elements i can style with pictures and how can i do this?You can style gui elements to have picture
Until now i could'nt find any example.
Re: game.player.gui.center.add{type="picture", [...]}
at least buttons (see first spoiler, and second for others types), which rk84 used for his test mode mod (and checkboxes too). For an example download it and look at the styles subfolder.hirnwunde wrote:which elements i can style with pictures and how can i do this?
Until now i couldn't find any example.
some mostly button specific info
other elements with image elements