I repeat, we have red square on blue background.

Posted by macroidtoe on August 1st, 2008
i-repeat-we-have-red-square-on-blue-background

Ohhhhhhh boy.  Been a little busy lately with some work for an exhibit opening at the museum, but I finally put in some time with the Python.  It ain’t much to look at, but the basic skeleton is in place.

The next big step is to figure out how to make it generate and select from a randomized list of files rather than using a specifically defined image file.  (Probably need to make a few more functions which perform the list/randomization tasks, and then take the output from those functions and swap the variable in where the image file names currently sit in the main function… or something.)  And then make some actual art rather than just placeholder graphics.  EXCITING.  BE EXCITED.

First Python Project

Posted by macroidtoe on July 5th, 2008
first-python-project

The plan is fairly simple: write a program which will open up a small window, display a random 16×16 sprite selected from a list, put it on a random background, and insert a random message.  The idea is that you’ll be able to add your own sprites and backgrounds into the list, and likewise add your own messages into a text file for the program to use.  The program can even be added to your startup list to provide a “Message of the Day,” if you will.

I’ve thrown together a quick-and-dirty mock-up from some random sprite rips (Kirby’s Adventure and Final Fantasy IV, an odd combination):

For the real thing, I intend to create my own backgrounds and sprites rather than using sprite rips (but anyone who downloads the program can put whatever sprites from their favorite game they want into the folder).  Really, in addition to being a good beginning programming project, this will also give me a nice outlet into which I can dump any random pixel art I happen to doodle up.

I need to go over the exercises from the past few chapters of my book a bit more and do a little research into randomization techniques, so there might be a small delay before I can get to work on this.  But once I start, it ought to go pretty fast — this isn’t exactly an astoundingly complex program or anything (hey, we all have to start somewhere).

Test

Posted by macroidtoe on July 2nd, 2008
test

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer hendrerit sem ut nisl. Ut congue urna vitae nulla. Ut sit amet urna a leo adipiscing molestie. Sed ut purus. Phasellus ipsum nunc, malesuada vitae, porttitor non, scelerisque ac, enim. Sed vitae lectus. Etiam eu ipsum. Donec dui nunc, sagittis id, sagittis non, auctor non, turpis. Ut vulputate, nisl in congue consequat, enim justo porta est, id dictum lectus est faucibus est. Fusce ac enim. Duis volutpat. Sed ultrices, lacus ac scelerisque dignissim, mi magna tristique libero, non suscipit eros lacus non est. Suspendisse potenti. Pellentesque sed quam vel ipsum accumsan suscipit. Vestibulum libero. Mauris eget enim pharetra sem ultrices ultrices. Sed suscipit euismod ipsum. Proin ac sem eu erat rhoncus semper. Aliquam euismod dapibus tellus.