OrionUI is a personal project I have worked on during down time.

I implemented a design pattern called Model View Controller, the idea was to add structure to UI programming, after seeing some less well structured UI. With this implementation I can also very easily switch out a View with another. This makes it both easy to entirely replace a View if the old one is out of date or have multiple one and perhaps different ones per platform. The model aspect is a Component that you can attach to any actor to make it a Model. The controller controls the information that is taken from the Model, cleans it up and sends it to the View Controller. The View only have visual logic like animation and handles the simple information that it gets from the Controller. The View Controller is just a middle hand between the View and the Controller that makes it able to easy and fast switch between different views depending on for example which platform you are on.

In this project I also implemented a cascading tooltip system that resembles Baldur’s gate functionality wise by using a custom coded RichTextDecorator.

Previous
Previous

Overpass

Next
Next

Cure