Unity

The Quest For A Resolution Independent UI In Unity

Updated Oct. 27, 2019. Developing a truly resolution independent user interface is not easy, especially for desktops and laptops. By resolution independence, I mean being able to design the UI once, and have it work at all resolutions, especially the wide range of resolutions on desktop. I’ve read a lot of posts and tutorials online, …

The Quest For A Resolution Independent UI In Unity Read More »

A Solution To Unity’s Camera.WorldToScreenPoint Causing UI Elements To Display When Object Is Behind The Camera

If you’ve ever worked with Camera.WorldToScreenPoint to get object positions on the screen from their world space positions, and then displayed some sort of UI element on it, you may have noticed that when your camera faces away from the objects, you still get your UI element displaying on the screen. This is due to …

A Solution To Unity’s Camera.WorldToScreenPoint Causing UI Elements To Display When Object Is Behind The Camera Read More »

RTS Drag Selection Box Using Unity UI

Work is already underway on a prototype of Astra, a space strategy game that I’m currently building. Using the Unity Game Engine, I’ve been prototyping turret functionality, a camera control system, and a unit selection system. Originally, I was using PlayMaker’s visual scripting FSM system, which was quite fun and easy to use. However, there were some …

RTS Drag Selection Box Using Unity UI Read More »