Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rubenwardy

Pages: [1]
1
Themes / Useful Resources
« on: 07 June 2019, 02:56:19 »
Theming Superset Language

This is a Python script to make theming easier. Its main feature is to automatically build sprite sheets.

It has the following features:

  • It allows you to automatically build sprite sheets by looking in a source theme file for image names.
  • Texture = ${name}; will find the texture called name.png and then add it to the sprite sheet.
  • Texture = ${name:10}; will create a 9-slice with an inner padding of 10.
  • Texture = ${panel:10o+10}; will create a 9-slice with an inner padding of 10, but offset by 10 from the top (see the main body of the child window in the second screenshot).
  • Texture = ${titlebar:10o-10}; will create a 9-slice with an inner padding of 10, but offset by 10 from the bottom (see the main title of the child window in the second screenshot).
  • It allows you to import other theme files using #include "aaa.style".

https://github.com/rubenwardy/tgui-kenney




Example Form

This is a program to test themes, from the examples folder of texus/tgui

https://github.com/rubenwardy/tgui-example

2
Themes / Kenney UI pack [WIP]
« on: 06 June 2019, 19:05:50 »
This is a Work In Progress theme using Kenney's UI Pack

License: Z-LIB for theme, CC-0 for resources

Source code: https://github.com/rubenwardy/tgui-kenney
Downloads: https://github.com/rubenwardy/tgui-kenney/releases

Supported widgets:
  • Panels
  • Edit text
  • CheckBox
  • Button




Pages: [1]