Thursday, April 28, 2011

My 3 Favorite Pygame Tutorials

   I read a lot of Pygame tutorials when I first started making small games and wanted to move up from text-only programs. I think the only reason I managed to figure out object-orientation after a ton of time reading tutorials focused on that subject was by writing a game that made use of the Pygame sprite object system and seeing how objects worked in my own real-life example. If it hadn't been for Python and Pygame and how simple and easy they are I don't think I ever would have progressed beyond editing *nix shell scripts. Having played with the Pygame Subset for Android got me to think about those days, and the tutorials and books I learned the most from. Here are some of the resources that I found most useful for learning Pygame:

Thursday, April 21, 2011

Using Samba File Shares on Android with CifsManager

   I've been writing a lot of phone related posts lately because I'm still in the honeymoon phase with my new Android phone, the HTC Inspire 4G. I'm always researching tech and when I get a toy as powerful as a modern smartphone I'm definitely going to see what I can do with it. One of the issues I ran into after installing CyanogenMod 7 on my phone is that the video player, unlike the stock HTC one, won't play files off a Samba file server. While I can use ES File Explorer, my preferred file manager, to stream some video formats it requires copying them to the SD card first. The best way to solve this problem is to make the video player think the remote server is a local folder on the SD card, using the CifsManager app.

Thursday, April 14, 2011

Python and Pygame For Android!

   I love Pygame. Python was the first real programming language I was able to grok and Pygame and its sprite system were a big motivator to finally figure out object-orientation. I made a bunch of different small games using Pygame before I decided to try and learn Actionscript 3, and I'll always have a use for Pygame in quick prototyping. So when I found the Pygame Subset for Android, I thought it was pretty darn spiffy.

Thursday, April 7, 2011

Setting up a Bluetooth Keyboard with the HTC Inspire 4G

   One of the things I miss most from my Blackberry Bold 9000 is the hardware keyboard. The touchscreen keyboard in CyanogenMod 7 is nicer to use than the stock HTC keyboard on the Inspire and Swype is even better for texting than that, but nothing compares with a hardware keyboard when you want to mess with the terminal or play with emulators. I really wanted a phone like the Desire Z, but since the Inspire was only a $70 upgrade I decided not to wait longer for a decent Android with a keyboard to be subsidized by AT&T. Instead I've bought a Bluetooth mini keyboard to use with my phone. The stock Sense ROM the Inspire ships with won't support Bluetooth HID devices, but CyanogenMod will! That's one of the reasons I decided to root my Inspire and install CyanogenMod 7.