I recently took up game programming and I've been working with Python (i.e. PyGame).
I wrote this simple program to help me identify coordinates on the screen. I've been having a lot of difficulty accurately guessing coordinates. Whenever I want to display something on the screen I have just been guessing and I spend valuable time going back and checking to see if it placed on the right spot. This program gives very specific locations for coordinate sets.
NOTE: YOU MUST HAVE PYGAME INSTALLED FOR THIS TO WORK. FOR MORE INSTRUCTIONS, CLICK HERE.
The source code can be found here.
Keep in mind that the coordinates displayed are the coordinates of the CENTER of the square.
Tuesday, October 20, 2009
Monday, October 5, 2009
"Because that would be suicide"
A simple quote, but spoken with surprising consequences.
It's hard to tell, but this was actually a very sweet thing to say. I won't go into detail, but trust me on this one.
It just goes to show that context does matter. Don't analyze quotes outside of their source.
It's hard to tell, but this was actually a very sweet thing to say. I won't go into detail, but trust me on this one.
It just goes to show that context does matter. Don't analyze quotes outside of their source.
Sunday, September 13, 2009
Python Game - Hungry Fatty

Check out this game I just made.
In this game you are a floating head and you are hungry! Your objective is to get as fat as possible. In order to get fat you must eat as many burgers as you can while avoiding the bombs. Once you hit a bomb, it's game over.
NOTE: TO PLAY THIS GAME YOU MUST HAVE PYTHON AND PYGAME INSTALLED.
Here is a link to all of the files (Python file + image/sound files).
Here is the Python source code if you want to use your own sounds/files.
I made the background music myself and I drew the player's sprite myself. Not impressive, but I just wanted to put that out there.
INSTRUCTIONS:
Use WASD or ARROW KEYS to move the player. You can also use the mouse but I wouldn't recommend it. To exit the game, press ESC. If you eat a hamburger the game will play a chomping sound and if you touch a bomb you should hear an explosion. If these things do not happen, that doesn't mean the game has an error. Put all of the files on the desktop.
I am planning on releasing an updated version with an invincible cheat. You can already see how I will do this if you understand the code and you look in the sound declaration block of code.
I have also included 2 cheats in this release. Try to figure out how to activate them (look at the code).
Wednesday, September 2, 2009
Facebook - Website, or Robot?
I love how when you click on a notification it takes you to the page and automatically scrolls down to the newest post, as if we are some sort of primordial human creatures somehow able to use a computer but not capable of using a scroll bar.
And the worst part is when I sign off for a while and I get a ton of notifications. If someone comments on my status or something and then I click on the notification it takes me to my status and scrolls all the way down. So I have to scroll all the way back up to read all of the comments. This just causes me to do more work than I would have if Facebook didn't have these stupid features.
And what the hell is with these generic ass fan pages? Who made the fan page for "cash"? Nobody is going to not be a fan of cash. It's so stupid because you're pretty much forced to be a fan of all these cool things.
And don't even get me started on all those dumb games...
And the worst part is when I sign off for a while and I get a ton of notifications. If someone comments on my status or something and then I click on the notification it takes me to my status and scrolls all the way down. So I have to scroll all the way back up to read all of the comments. This just causes me to do more work than I would have if Facebook didn't have these stupid features.
And what the hell is with these generic ass fan pages? Who made the fan page for "cash"? Nobody is going to not be a fan of cash. It's so stupid because you're pretty much forced to be a fan of all these cool things.
And don't even get me started on all those dumb games...
Saturday, August 29, 2009
New Breakdown Video
The second I uploaded this video it was taken down due to copyright infringement.
Apparently, YouTube has the authoritative power of a kindergartner, and it was restored almost immediately. I used a simple trick that brings the faggots that run YouTube down to their knees so they put it back up.
Here it is in all of its glory:
Apparently, YouTube has the authoritative power of a kindergartner, and it was restored almost immediately. I used a simple trick that brings the faggots that run YouTube down to their knees so they put it back up.
Here it is in all of its glory:
Monday, August 24, 2009
ASCII Code Display
This is an interesting program; it displays an integer's corresponding ASCII character.
Basically it goes through every integer (in binary, converted to an integer value) and displays the ASCII character for that integer value.
NOTE: Coded in Python
The source code is here.
The values range from 0 to 255, because 0-255 are the only valid ASCII integer values. If you're interested in computer programming, try to figure out why and ask me if you want to know the answer.
Basically it goes through every integer (in binary, converted to an integer value) and displays the ASCII character for that integer value.
NOTE: Coded in Python
The source code is here.
The values range from 0 to 255, because 0-255 are the only valid ASCII integer values. If you're interested in computer programming, try to figure out why and ask me if you want to know the answer.
Programming Update
Lately I've been messing around with a lot of different programming languages.
I originally programmed in C++ and then when I got back from camp I was using Java. Now I'm taking a class in Python so I'll be using that for a while (probably this whole semester).
From now on, when I post source codes, I will specify which language I used to code the program. As an added challenge, I might try to create the same program in all 3 languages (C++, Java, Python).
-Joe Mur aka The King of Isaac Bear
I originally programmed in C++ and then when I got back from camp I was using Java. Now I'm taking a class in Python so I'll be using that for a while (probably this whole semester).
From now on, when I post source codes, I will specify which language I used to code the program. As an added challenge, I might try to create the same program in all 3 languages (C++, Java, Python).
-Joe Mur aka The King of Isaac Bear
Subscribe to:
Posts (Atom)