So with the advancing of HTML5, Web 2.0 and everything, more and more websites are using dynamic loading. One of the more advanced technique is dynamic loading portion by portion, that is, only load the amount of content that fits the consuming context such as depending on where you are looking at/reading and how fast you are reading, […]
Category: Blog
Note of the day: Never do “gameObject.transform.localPosition.set(x,y,z)”, it doesn’t work like it looks going to.
HUD – Top Part
3D layout of the top part of HUD
Interesting discovery about Math.Abs
Math.Abs is more than twice slower than conditional negation? This is mysterious!
Fixing fallen pages from a binder
A quick fix-it if you have a page fallen off the binder.
Ever struggled with how much to tip? Well there are certainly tons of “smart” apps out there that might “advice” you on that. I’ve personally tried a couple, but never really liked any. Doesn’t it seem troublesome to take out your smart phone and open a dedicated app that serves as nothing more than a […]
A tip on commenting in debugging
Maybe you’re like me who would use block comments to comment out pieces of code for debugging purposes. I used to do just this: /* // some code here to be commented out */ Well it looks fine as it is until I need to un-comment it. // some code here to be commented out […]