Project Rott is a game development project using Unity for the Iphone/Itouch and eventually the android platform. This blog will act as the place where I will provide solutions to problems I encounter in the process of developing this game.

RSS My Blogs

A little more life in this page.

Reuomi Blog

So, very long time since last post, went on a very long hiatus. but i have been working very hard on my project these last 3 months and today I see the first bits of multiplayer online gameplay coming together. I've set myself a goal to have a proof of concept (using stand in artwork) video to demonstrate gameplay, and a BetaTest ready version this december (2010) and test into late january, hopefully with a release on iphone and android this February (fingers crossed). I'm going to continue to post my approaches to solving gameplay issues over these next few months,, and though I figure i'm the only one viewing this, with the exception of a few buddies, I wont let that discourage me too much.

First post: my approach to linking gui elements.

Reuomi Blog

I ran into issues with my Dialog GUI in regards to Unity’s method of handling GUI elements. Apparently, unlike other GUI builders in other development environments (such as Visual studio) elements aren't attached to each other. I needed to come up with a way of moving the background element of the GUI and having all the elements on top of it move along with it. 
 I’ve solved this problem by creating a base element (similar to a form in visual studio) made from a GUI.Box element and assigning it a X and Y screen coordinate variable. On all elements in that box element I’ve taken their x and y coordinates and augmented them with this value, for instance: Button one has a x coordinate of UniX + ButtonOneX (UniX is the x coordinate of the box element) so when the box element moves the button element will always augment itself based on that changing variable.
This was the problem I solved today.

AlexH