Friday, April 15, 2011


If you have played the game you know about the little sister.. and the big daddy and stuff.. just wanted to try drawing some girl with teddy in her hand and with crazy hair do.. ended up drawing forgot to put my sign in there :(

Saturday, April 09, 2011

Inkscape as Level editor

If you dont' know about Inkscape yet, it's a svg editor and if you dont' know svg its just a text based file format for describing an Image.

Now that we have that out of our way.. lets talk business. During one of they pyweek contests, i came across a discussion regarding creating a level editor for a game. And one of the participants posted saying that he is using Inkscape as level editor. I thought to myself that I should be doing it too. But I didnt' know how the parse the file, i knew it was xml but did not know the tags, attributes etc that are valid for an svg. Then i came across a svg rendering library called squrtile . I looked at the code and saw that it was pretty straight forward.

And now for the first time i have used svg as a level editor for my pyweek entry "Charged". This made it way easier to visualize what i was going to see in the game and much more organized. In fact anybody can just pick up any svg editor and start creating there own levels by checking out the levels the game has. Also i've been using inkscape along with gimp extensively since my last project. Here is how and why you can use it as level editor:

  • Open file in Inkscape
  • Open source code viewer (Ctrl+Shift+x)
  • Add key and value pairs for each object. (these can be anything but your program should use this info).
Once the above is done you have a svg file with the information that is required for placing different types of objects in the game world. Once you have this information, we can just render the corresponding objects.

I think i've gotten better at using it :) I am atleast able to make what the game requires. I have to agree though, ive' been trying to keep the art as simple as possible so i can make it look as polished as possible. Any way here are the screenshots of Charged.You can download the game from the pyweek contest site Charged. you will be able to find the windows exe as well as the source. Hope you like it.

Wednesday, April 06, 2011


The pyweek for this year has started and the theme is "nine times". Since iv'e been working on MuCap for a while now i wasn't sure i would be able to work on anything for this pyweek. But started thinking about the theme anyway. I wanted the gameplay to be very simple to pick up at the same time making the player think about how to complete a level. This is easy.. you make a puzzle game but how do i incorporate the theme? well first i decided on the gameplay "bounce a ball around". The theme says "nine times" so now i started thinking about ways to make the player bounce the ball 9 times before the level is complete. This was the thought process behind "Charged" the pyweek game im' working on currently.

To make sense of why the user should bounce 9 times before finishing, i tried working out some kind of story.. say feeding something with candy coated with chocolate? (9 times bounce == more chocolate) for some time i was going to go with that story line.. until i suddenly started thinking about static electricity and then it all came together.. you bounce the ball around enough to create voltage enough to power a light bulb (the goal) how do you light the bulb? well.. contact with any wire attached to the bulb should do it :) I didn't really think about making the equations right but V = IR hence more the resistance more Voltage you need. So thats' the premise im' using for this game. Why electricity you ask?.. thats thanks to tangential learning that this video talks about.
Here is the concept art for this game screens to follow..