My Python GUI training for PyLadies

Tkinter is Python’s default library for creating Graphical User Interfaces (GUIs). On Monday, March 27th, I’ll be running a short training on Tkinter’s basics. If you’re a Python beginner and you’d like to learn how to quickly build simple windows filled with labels, buttons and other widgets, come meet me and the PyLadies group in Poznan University of Technology’s Conference Center at 18:30!

Check out the facebook event for more information.

Oh, and don’t be confused with the group’s name – guys are also invited 🙂

Advertisements

Abandoning bitmaps

Basing your game’s visuals on pretty bitmaps loaded from files can be tempting. And for most titles, it’s probably a good idea – the number of objects displayed on the screen is limited to several dozen, and not even half of that is animated. You can use image editing software to modify the appearance of each object, which is quick and lets you get exactly the desired effect. But what if you want to display thousands of individual, animated objects, all displaying unique, randomly generated features? Well, then it gets a little bit tricky.

Continue reading

PyGame – absolute basics

Alright, I took some time this week to research pyOpenGL. If “Get Noticed” competition lasted for 3 years, it could be a pretty good idea to build the whole project in raw OpenGL. Unfortunately, I only have 3 months, so I think I’m going to have to base the game on pyGame. In this post, I’ll jump directly to code examples. I base my first steps in the pyGame world on the “Rapid Game Development” tutorial by Richard Jones.

Continue reading