Sunday, September 20, 2009

Ubuntu Config

Ok for some weird reason the firefox on my ubuntu box has been .. you know.. really really slow.. switching between tabs etc.. are slow.. at least so I perceive ... any way.. turns out i wasn't the only one.. lucky for me i found a post on ubuntu forums which said.. i had to disable the ipv6 thing in about:config.... so here is what is supposed to be done if you are facing this issue:

1) type about:config in your address bar
2) once you see the config, search for ipv6
3) you will find only one entry in there.. double click it to toggle it to true.
4) restart firefox.. you will find that it is a definitely better than what it used to be. (well it is for me at least)

Now the Video Player keeps flashing the screen while playing a video.. while compiz is enabled.. so the solution.. again... is just a config change.. i dont' see why these things are not put in by default but here you go...

check out the link just in case you are lazy to hit the link.. here is the extract...

* GStreamer Users (The default video player in Ubuntu, totem-gstreamer, and any video player that is based on the gstreamer backend)

o Open a terminal and type “gstreamer-properties”. Press Enter.

o Click the Video tab.

o Under Default Video Plugin select “X Window System (No Xv)”.

o Click Test to verify that video playback is working (you should be able to see the standard TV testing colour

Saturday, September 19, 2009

InkScape Learning

So i've been spending time with inkscape to see how good it is for creating character art and then animations from that... essentially sprites.. so.. here is what i was able to create following some tutorial..

I kinda skipped through some of it coz i think i got the hang of it.. any way.. here we go.. the drawing...

Wednesday, September 16, 2009

Trying some cartoon drawings with inkscape


Some thing i drew in inkscape just after getting inspired by svg art around the web.

Sunday, September 06, 2009

PyWeek9

Yet another successful pyweek flies by.. well not yet.. but at least the major part of it is. Just in case you were wondering what the heck pyweek is.. just visit the website will you. I've been participating in this event ever since i found out about it during college. Enough of this stuff... let's get to the good part ...

If you have a wii or heard about it.. you will have heard that its' a low end system with not much of graphics power etc, but some of the games that are available on this system are really very innovative. One such example is the game called deBlob (by THQ). This was a student project which got adopted into a commercial game. So why the hell am i talking about it in a post dedicated for pyweek?.. well this game kinda inspired me to write write something similar. I've been waiting for the right moment and PyWeek9 presented the right opportunity. Why?.. coz the theme for this pyweek was 'Feather'

So i thought ill' build a game around painting the world in colors with a feather and have enemies who suck color out of the world and the feather. You get the idea right?.. so I had my inspiration from deBlob and now i had to get the painting aspect incorporated into the game. It would have been a easy ride (or so to speak) if i had stuck with just ripping off the deBlob game. But according to system capabilities survay i conducted among the other participants (who also judge your entry) it turned out that most of their systems did not have pixel shader capabilities. I thought it would be hard to get the art assets etc ready for such a game without shaders running. So i dumped the 3D game idea and started working on 2D version of it.

Art Assets:
The look for this game was very important, it had to look dull and gloomy with mono chrome colors and then the feather would transform the world with colors. So i was looking for the right concept to target.. my attempts to create 2D versions of the 3D buildings in deBlob turned out to be pretty lame but that was the best i could do so i continued.. one day i came across a game called Misadventures of Mr.Winterbot this game set the right guide line for me as far as the buildings are concerned. I've been working a lot with blender lately and that has helped me create these models with ease. Once this was done, the simple procedure for generating ambient mapped renders in blender helped me get past the major hurdle for me.

Game Play:
user controls the wind direction which helps the user to control the feather. You can use the same wind power to crush the enemies and get the color you want for painting the world.

UserControls:
Mouse Gestures , strokes on the screen with mouse button pressed.

I had a document prepared in google docs with all the features i wanted to be in the game. So this helped me focus on what needed to be done. I would clear off each item off my list as soon as it is done.. So.. what was the result of one week's hard work?.. here you go...














As you can see.. this does look pretty awesome :D (well at least to me) so. As with any programmer, the art work has been a bit of a trouble for me .. i guess iv'e gone past that hurdle now.. at least for the 2D games :) I can't stress enough how important Blender has been for creating the art work. Oh and for the menus, i kinda put mini maps of the levels and these levels also track your best time and score :). As you finish a level sucessfully, you will see that level's menu option colored.. .. hmm you dont' get it right?.. just get the game from pyweek.org
you will be able to download a binary version as well as the source code (.. special note about the source code... it's dirty!! .. what do you expect.. 1 week time.. i had to do some stupid things to get the thing done)

ps: I know this is quite a long post.. I'ts been a while since i made such a big post.. but for a whole week this post is definitely small :)