Interview Pizzle 1 – Find the Heavier Marble

Question You have 9 marbles. 8 marbles weigh 1 ounce each, & one marble weighs 1.5 ounces. You are unable to determine which is the heavier marble by looking at them. You have a weighing scale that consists of 2 pans, but the scale is only good for 2 total weighings. How can you determine which marble is the heaviest…

Read more...

How to rotate gizmos to fit a game object in Unity

While you are making a cube in unity which is transparent in gameplay, you would probably want to make it visible only in editor mode with gizmos. However, gizmos doesn’t rotate with the object transform. So you can use the following tricks to rotate the gizmos to fit your object. The code shown is to…

Read more...

Making use of Adobe Script

I have been using adobe products such as illustrator and photoshop for years to support my works. The lastest work would be making icons for my Chrome Extensions =]. Adobe script has no doubt saved me a lot of time. And what make me excitied is that the script can be Javascript. Adobe script is…

Read more...