Modding, Mission Design, and Coding > FS2 Open Coding - The Source Code Project (SCP)

High Resolution UI system

(1/19) > >>

m!m:
Thanks to the amazing work of mjn.mixael, we were able to build a fully functional, high resolution replacement for the initial pilot selection screen:



This screen is powered by libRocket framework which allows to create user interfaces in an HTML and CSS dialect. The logic of this screen is controlled by a Lua script so it is very easy to change the way the user interface behaves without having to change the FreeSpace Open source code.

The newly added barracks screen


The new in-game options menu:


The project has reached a state where the initial pilot selection and the barracks screens can be replaced completely with a libRocket powered UI.

The mod is available on Knossos: https://fsnebula.org/mod/UITest

Alternatively, this is the development version which may be more recent if I bothered to upload the mod:
Here is the mod required for that: http://www.mediafire.com/file/02evqpucyesvoni/libRocketMod.zip
You will need special builds to use this which can be found here: http://swc.fs2downloads.com/builds/test/libRocket/

The development version of this mod can be found in this open source repository: https://github.com/asarium/libRocketMod
Development of this project frequently happens via the #scp channel on Discord so if you want to follow the development of the other screens check out that channel.

Please test this and let us know what you think!

Again, huge thanks to mjn.mixael for making this project happen.

mjn.mixael:
 :yes:

Because this system builds the UI like a webpage, the elements may move or scale differently depending on your resolution. I checked several random resolutions as I built it, but I'd be interested to see screenshots of any and all resolutions running this mod to see how things change.

wookieejedi:
Ohhh that's sexy. Fantastic work!

TwentyPercentCooler:
You guys are sorcerers.  :yes:

mjn.mixael:
Bank Gothic's triumphant return.



The next screen is well under way. Note: barracks update is not in the OP attached mod files.

Navigation

[0] Message Index

[#] Next page

Go to full version