Author Archives: alastaira

A Simple Mind-Reading Machine

Just for fun, I decided to implement a "Mind Reading Machine" based on the work of Claude Shannon and D.W. Hagelbarger. If you’re not familiar with it, there’s a good summary of Shannon’s idea here (together with descriptions of some … Continue reading

Posted in AI | Tagged , , | Leave a comment

Project Spark : First Impressions

Project Spark is an upcoming game/game creation environment/educational coding tool/interactive story creator/all/none of the above. Actually, I’m not quite sure what it is (nor exactly who it’s aimed at), but recently I’ve been doing a lot of computing with kids … Continue reading

Posted in Game Dev | Tagged , | Leave a comment

Glass Shader

I’ve seen a lot of posts recently from folks trying to create shaders that recreate the appearance of glass. I guess the reason is that glass is a pretty common material, but modelling its appearance is surprisingly complex – requiring … Continue reading

Posted in Game Dev | Tagged , | Leave a comment

Keeping Track of Targets in a Trigger

Unity provides the OnTriggerEnter() and OnTriggerExit() events that fire whenever a collider enters or exits the designated trigger, and also an OnTriggerStay() that fires in every frame in which the collider is within the trigger. However, it doesn’t provide a … Continue reading

Posted in Game Dev | Tagged , | 1 Comment