Search Unity

Photoshop (PSD) to XUIToolkit (version of prime31 UIToolkit)

Discussion in 'Works In Progress - Archive' started by trooper, Feb 22, 2013.

  1. trooper

    trooper

    Joined:
    Aug 21, 2009
    Posts:
    748
    We had been working on this for a few months back in 2012 and I thought I'd share it.

    It's a PSD to Unity "tool" which creates fonts, atlases (with sd versions) and generates the code to easily display your in game UI.

    It provides functionality for most UIToolkit elements (some of them have been upgraded) and gives you a framework to code your menus.

    For instance, each menu has it's own partial class which inherits from a base class. When you load/show/hide a menu using XUI there are events which can be overriden to either setup your ui elements (link buttons or start animations) or load other parts of your game.

    It's not for beginners but for people who love automation and coding:




    Fonts don't always have the correct spacings and renderhjs is working on some improvements to his shoebox software which will fix this but for time being it uses offsets for fonts which isn't shown.

    It's not really easy to setup, there are 3 different programs that get used outside of the photoshop script and our mono program that does all the work.

    The way it's coded would allow any kind of GUI system to be used (NGUI or EZGUI) so long as you are able to create gui elements using only runtime code.
     
    Last edited: Feb 22, 2013