My drawing program using the new UI

I thought I’d share a project I’ve been making which features a lot of the new UI.

It is an SVG creator called Vector Artist and I’ve put it on the web. (On Chrome you may have to select allow from this domain).

It is made with the UI components and the main drawing area is an Image component.

It uses a custom made vector graphics library which I am going to put on the asset store when it’s finished. I’m currently making a lot of demo examples for it. The library simply outputs a byte[ ] array which can be applied to a texture or image using the LoadRawTextureData() function.

Some things I’m going to improve on are: making a nicer colour picker, better icons, images in buttons, vertical antialiasing… open to suggestions!

Here is a screenshot:

1913811--123456--screenshot1.png

Other things I would like to do is make it work on a touchscreen PC in standalone (but unfortunately there is a bug in Unity bug:652851 which prevents this, hopefully fixed in an update).
Also I would like it to work as a Windows 8 Store App (Store not Phone!), but this also requires some bug fixes from Unity or otherwise removing the text input boxes and sliders. Or I may work around his and do the dialog boxes in XAML over the top. Unity is working on some fixes to make the UI work on touchscreen PCs with keyboards attached… so they say!

So, there you go. Have a try if you like.

Here’s another screenshot of the colour picker using the new UI.

1924330--124273--colorpicker.png

Next job is to put the vector graphics library in the Unity Asset Store.

p.s. for the Windows 8 Store version, I replaced the text input dialog boxes with XAML equivalents using Visual Studio. This seemed to work very well with touch. But obviously doesn’t match perfectly with the rest of the GUI. But when something doesn’t work, best thing to do is try and work around it. :slight_smile: