Labels

Friday, 29 March 2013

Wire him up, doctor....

So this week I had look into direction cameras.  They don't look too difficult but I have imported some JavaScript camera files from the Unity demo just to use for reference.  I can' actually code them just yet as I have nothing to direct the camera from and to :-/

On a positive note, got to have lesson with Martin this week, which is always a bonus, cos we just do his nut in with questions and in return he blows ours off with some holy f*** maths that even Pythagoras would squint at....  It's all helpful though.

I had some really easy questions for him to answer like why was a function running repeatedly instead of just onStart.  It confused him for while too but then when he changed it it started behaving itself.  Oh how we laughed.

As part of this weeks prototype task I wanted to have a look at getting the point light working in the stasis area of the game.  It's suppose to move work like an ECG display if you get me so that you can only see the platforms your moving against every few seconds.  A bit like this....
 
Anyway Martin was helping so the maths for this.  It involves lerping the light between points on the x axis as well as the y axis.  We managed to do the x axis and I can now build the points into a list for them to follow.  We ran out of time but Martin has got a copy of the script to have a look at the y axis bit.  He seemed to think it was very interesting what we were doing but cos it was nearly 10pm and I'd been up since 5am... my enthusiasm was some what lacking at this point so I told him I have to look at it the next day.  I have since re-read the code when I was more awake and I can now see what it's doing.  Winner !!!!

Looking forward to getting the stasis section working for the rest of the guys to see now...


Laterz....

No comments:

Post a Comment