February 22, 2010Josh Brown
Five favorites of my daughter at 6 months.
She almost crawling but she can stand up and walk along anything she can hold on. She also likes to browse books too. Don’t believe me? See the video! She got that book off the stack herself and opened it. Then when she’s done, she stands up and [...]
Read More »
Posted in Uncategorized
December 26, 2009Josh Brown
There are already a few solutions floating around on how to make setTimeout or setInterval call a method in your class. The typical solution involves a intermediate parameters and arbitrary functions. Here is mine:
setTimeout( function(o) { o.method() }, 1000, this );
It creates an intermediate function which accepts your instance from the parameters and calls your [...]
Read More »
Posted in JavaScript, Programming
December 5, 2009Josh Brown
Surprise is a hard thing to fake for me. My wife buys me gifts and for some reason, I always guess what they are. I figure, as long as I don’t tell her that I guessed something, that I’m safe, but that isn’t the case. She either detects that I know or I don’t act [...]
Read More »
Posted in Uncategorized
December 2, 2009Josh Brown
If you don’t already know, the easy solution is to use this.Graphics.ToggleFullScreen() in your Game object.
While part of the solution, this should not be your entire solution.
Requirements:
Resizable viewport
Viewport size restored when returning from full screen
Full screen resolution should match the current resolution of the monitor
Support multiple monitors of different resolutions
Only toggle [...]
Read More »
Posted in Uncategorized
October 7, 2009Josh Brown
Some people place ads on their site to get some unneeded revenue from their visitors. Some cover their site in ads with no reputable content. Some just need to cover their expenses, and in return provide some decent content you may need. That last one is me. I block visitors who block my ads, because [...]
Read More »
Posted in JavaScript, Programming, Web Developing
October 7, 2009Josh Brown
On the family’s Tandy Sensation, decked-out 486DX2/66MHz desktop computer, my brother and I got addicted to a little game called Jetpack. Rarely playing the actual single player levels, we created levels and competed against each other with our creativity and dedication. The power of games like this is the simple editor, which holds the [...]
Read More »
Posted in Gaming, Nostalgic
October 6, 2009Josh Brown
A new chapter has begun in my life. It actually began a while ago but I failed to see it. Since recently realizing that I’m not a teenager anymore, I have: gotten married, started my career, travelled, started an engineering hobby, hit quarter century, had a child. It is time that I started enjoying my [...]
Read More »
Posted in Blogging, Life