Day 1
We decided to make a perfectionist nightmare in a shape of UI design simulator and I started things off by making a grid for the UI elememts to snap to. As I soon discovered there were Canvas coords and Worldspace coords that I had to make to work together, but nothing seemed to work and zero information was found on the internet so far. By the time clock finished with last bits of day one I was already panicking.
I decided to multiply world coords by random number just to see if they move in the direction I wanted so I went with 40. Hmm... It surely looked closer than I thought it would be. 35?... Too small. 38?... Almost there. So 37...
IT WAS PERFECT!
I don’t know how or why, but it worked and I went to the bed.
Day 2
A Ludum Dare friend of mine showed up and asked about our project. He listened carefully about coordinate matters. He worked with such stuff before and agreed that marrying world coordinates and canvas is a huge pain. He also warned me about using OnGUI rendering method because it may drop our frame rate. He told us couple of stories when this method nearly ruined his life.
I told him my method is not going to cost us any FPS nor it will spend eternity to load the game. I told him I multiplied everything by 37 with NGUI.
There was a long pause.
Grid still did not crash that day.
Day 3
The artist turned to me and asked why all those cute buttons and characters look a bit off when imported to Unity.
I told her to try setting Pixels per unit to 370… DRAMMATIC PAUSE… "Perfect match! But.. How do you guess it?"
Timelapse
https://youtu.be/leIY5famrd0