Monday, May 10, 2010

int? and mouse control

so if you want an integer to be null you have to type your variable as int?

and if you need to access a method in another script there is a really specific way to do that using c# for unity.... good things to know

so I have the last part of the mouse control working. You can now click on the center gem to lock in your color mix.

the next part is to add in the running tally of your score and add a way for you to earn back some color into your reservoir. At the moment, once you run out of a color you just can't mix any more... game over. not really much of a game is it.

There will also be a total overhaul to the graphics coming very soon.

No comments:

Post a Comment