Work Log
Once again, a worklog from the nightbus home from the Hackspace.
Lots of progress today, far too much for the little work I put in. Reducing the timeout on the reads from 500 ms to 10 ms has made the whole thing more responsive - still takes a few seconds to start up, but it only hung once in a day of hacking. The problems I was facing controlling the analog PWM stuff was due to having the wrong software on the Arduino - stupid stuff, but thrilling to have it fall so easily today. I wrote some stupid simple wrapper stuff for the serial stuff, which now lets you merely say VibrationScript.SetVibrate( int motor, float vibration). Hook it up to turn on on when hoping click and ah! I never get bored of physical actions being performed by a computer. A click = a buzz! How delightfully arbitrary.
And now all the hard technical stuff was suddenly out the way. I quickly and painlessly (painlessly enough) added raycasts -- at this point writing I fell asleep. Since it's now a week later, I'm going to post this as is.
But basically, the interesting technical bit is done. Now I need to make the game (or rather invent the game) and tune it to feel right. Which is rather exciting.
06 November 2010