I’ve always been a huge fan of early raycasting games like Wolfenstein 3D, so I thought I’d write up a simple little raycaster for the Roku and see how it performs. It’s not bad, there’s perhaps some changes for speed sake that could be made. There’s no textures or sounds, just multicolored walls at this point. It’s running at 1280×720 and rendering in 64 strips. There’s also a map overlay on the left-hand side of the screen. Get the code below and let me know what you think or if you make any improvements. I can’t imagine this running on a Roku 1 or the LT for that matter, those would probably be far too slow (but I don’t have one for testing so I can’t be sure). If anyone tries it let me know how it works.
Since WordPress 2.7 the commenting system is very easily styled. This is due to the introduction of the new function wp_list_comments which now does all the heavy lifting theme creators were subject to. It also adds classes to each comment based on some simple rules. I’ll show you how to highlight post author comments and explore the other classes as well. Continue reading →
Ever get annoyed with the automatic jump down a page after clicking a Read More… link in WordPress? I’ll show you how to disable this in a simple PHP snippet that you can cut and paste into your theme’s functions.php file. Continue reading →
One question that seems to come up a lot amongst Roku developers is how to tie Google Analytics into their channels. So I thought I’d share some code I wrote for tracking with Google Analytics in my Roku channels. Continue reading →