Tuesday, January 31, 2012

Canvas Experiment

I just discovered that you can put in your script and render stuff to the blog. Pretty cool hopefully i can put a whole game in it. I remember trying this before but it didn't  work seems to be working now :D. It's pretty easy to get it just go to the html of the post and post your javascript and it works :) well not all of the things but for now this should do :)

Monday, January 30, 2012

DroidRun as Pokki

Droid run is the first game i developed using the CAAT library. The code isn't exactly the most beautiful and well organized but i've managed to get it working but then getting it to work as a pokki was a whole other story. I was too lazy to do it but gathered just enough motivation to make it because i did start writing this game for the pokki 1UP contest.

In a rush to get to the finish line .. i moved the code around like crazy and made a lot of local variables as globals and just hacked away at the code without thinking much.. i just wanted to get it working.. may be next time ill' try to be a little more cautious.. :)  I do plan to add in new features like ability to buy costumes and stuff but it can wait.
concept art
Any way if you are interested in getting the pokki for your computer.. click on the button below.. 
Download Droid Run for Pokki

Sunday, January 22, 2012


The CAAT library is really cool for doing html5 games. I was impressed by the demo they had for the library. So i started to think of simple game ideas that i could quickly implement using this library and make it look good as well. Im' always in a rush to finish coding the games ive' started writing so they miss the fine touches of ui animations and stuff. I thought this could be a good library to start experimenting with to get some thing up and running really fast. Since this is the first time i'm using this library i haven't really used it the most effective way but I did have a lot of time to fine tune the gameplay and artwork. Im' yet to integrate the score board into the game but i'm pretty happy with the way it stands right now.

Click to Launch Droid Run
The basic idea in the game is to be able to jump to three different heights and the user has to choose wisely based on the obstacle course. The aim is to last as long as possible and collect as many squares as possible. I wanted to add different costumes and stuff which is pretty straight forward but for now it has only one droid suit. I hope to get this up and running for android device soon.  Technically you should already be able to run this on any html5 compliant device but the performance may be a problem.

You can check out the game in action in the video below. You can also check out the homepage for the game at sites.google.com/site/vkgamedev.


Wednesday, January 11, 2012

JavaScript Frameworks

I've always been against using frameworks for getting my javascript work done. I felt they were getting the way of performance and too much obscurity. But after writing my first javascript game, i thought it would be nice to use the jquery library. Which resulted in a better looking code but for some weird reason i couldn't get the setInterval() function to work with the animation effects from jquery. I did find some solutions online to fix the problem but i didn't bother to look too much into it as i was content with the UI without any animation effects. Then i came across this amazing demo. I was blown away by how beautiful everything looked. The fluid animations brought the whole game to life. It was just a delight to look at the animations. I decided to give this library a try. The documentation is pretty extensive and the samples provided pretty much cover everything  you need to know. But the one thing they don't/can't tell you is how to use the library to fit your needs :) I spent a couple of days just trying to get a feel of how they expect people to write their applications im' sure i still didn't get it right, but i've got to a point where i have the gameplay ready and am working on fine tuning the experience. you know adding proper menus and stuff.
As you can tell its' a game based around the android logo. The funny part is that i got the gameplay idea from the android logo itself. :) Anyway.. since this is the first time im' using this library, im' not entirely sure if im' doing something wrong and hence screwing up the browser. Not sure if this is the best performance i can get from the Framework. That's usually the case with using the libraries. You can't really tell if you are using the library as intended.. i guess you keep getting good at it by using it regularly and trying to understand why a certain demo was written a certain way. But there is always this lingering doubt that probably the way im' using it is wrong. I really hope im' using it right :) hopefully it will be a good fun game to play.