The Calm Crisis

gamer and programmer… just existing

Python: The Tools

I’ve made the choice about what language and libraries I’m gonna toy around with and I’m in the process of getting it all set up.

Python is the language. Version 2.6.2 as it seems most tools and apis are written for the 2.6 line and not yet updated for the 3.x version of python.

Netbeans is the ide. I’ve used Netbeans before so it’s not wholly new to me. But it is a newer version and it has been approximately a year since I’ve used Netbeans. So, I’m not really expecting any big learning curve or anything.

After getting everything installed, I’m gonna get acclimated to using python in Netbeans and then get started on a simple game to introduce me to pyglet.

Pyglet is the “cross-platform windowing and multimedia library” that I’m gonna use. Essentially it’s gonna handle some of the game-oriented features that I need. This is the first of the tools that I’ve never used a day in my life so hopefully I learn it quickly and smoothly.. only time will tell.

Pyglet is based on OpenGL. I’m not expecting that to present any problems though since that’s the api that I learned when I first learned graphics programming like 5 years ago. I’ve never really used DirectX (XNA is as close as I’ve gotten to that), so my mind thinks in the “OpenGL way” anyway when it comes to graphics related code.

If memory serves me correctly, getting OpenGL installed and set up can potentially be a pain. /sigh. Nothing to it but to do it, though.

I’ll have to see how my first experiences with pyglet go, but from the reading I did, I’m thinking it may be necessary to use rabbyt as well. Several sources pointed out that pyglet doesn’t have a sprite type object for getting images into the game and manipulating them. And rabbyt is a (currently in beta) library built on top of pyglet to resolve that exact issue. But I’m gonna hold off on it for the time being. That’ll give me a chance to get acquainted with the different tools I’m using anyway as it ramps up from just python with Netbeans to including pyglet (with OpenGL attached) and then to rabbyt (should it be necessary).

Here’s to a day of getting acquainted with the tools!

Saturday, September 19, 2009 Posted by | What-Im-Making | , , , , | Leave a Comment

   

Follow

Get every new post delivered to your Inbox.