Home » 2010

Archive for 2010:


Embracing digital tools for early development – all in 45 minutes a day.

When I grew up, it was common for parents (including mine) to assume that making your child watch TV, or play video games at an early age was not the right thing to do. Anything to do with TV or video gaming was assumed to ‘corrupt young minds’ and the general thought process was to ensure your child grows up on traditional things (like real physical toys, pen and paper, chalk boards and educational books).There was a valid reason for this – in old days, content in such mediums was purely for entertainment and little was done for conscious education for children. Interestingly, that notion persists very strongly even today. I have lots of friends who have brought up their children pretty much devoid of TV and digital tools. When I say devoid, I don’t mean a total ban. They let them use these objects once in a while, but not in a ‘let it help you grow’ mode. It is treated as pure entertainment and curtailed often to just one show, played over and over again, or just one game, played over and over again. It is impossible to state what is right and what is wrong when it

(Read More…)

Cocos2D iphone tutorial: Die, Grossini, Die! – Part II

(Click here Part I) Previously, we described the fundamentals of a Cocos2D game (or in this case, ‘show’) and explained how everything is set up. Let’s describe the game, now. If you came here directly, Part I is here. The image on the left is the splash screen that I use for the game. I replaced the default Default.png cocos2d image with this one. You will notice Grossini has a nice 3D effect here. That’s just a simple Bevel effect on a layer. You can do this in GIMP, Photoshop or many other editors. The source for this classy looking Grossini image (well, just the regular image with a stick drawn on the right is here)

Cocos2D iphone tutorial: Die, Grossini, Die! – Part I

Click here for Part II. What do I have against Grossini? I don’t like the  way he dances. Okay, if you are shocked, take it easy. Its my spotty sense of humor. Who is Grossini? Well, Grossini, is a bald headed dancing sprite that Cocos2D has made immortal. I have just started learning Cocos2D as a platform for game development. After my earlier effort of building Bricks using UIKit, I discovered Cocos2D-iphone and this is my first venture into it. Cocos2d-iphone is a port of the cocos2d engine for the, umm, iphone by Ricard Quesada. Cocos2D is an excellent and easy to use iPhone 2D gaming engine with pre-built operations for a whole bunch of stuff. While there aren’t too may good books on Cocos2D today (there are some that will be released later this year), there are excellent online resources and tutorials on the same. The Obligatory Video of what we will be developing No, its not really a game. Just sit back and watch some jumping and blood-shed. What “GrossiniDie” is intended to do You may have already figured it out from the video. Basically, our goal is to present a user with a “Main Screen”. Once he

(Read More…)

Tutorial: iPhone Game Programming- professional Bricks (Part III)

Click here for Part I Click here for Part II In Part II, we dove in to the implementation of pretty much every function except the core gameplaying logic. This part will now discuss the implementation of the core game playing logic and how I handle touch detections.

Tutorial: iPhone Game Programming- professional Bricks (Part II)

Click here for Part I Click here for Part III In Part I, we discussed the approach to implement a professional looking Bricks game for the iphone. We also described the basic design approach and broke down the header file in detail so you get an idea of how things will be. This part will now discuss the implementation. Before we do that, here is the video again of what we are implementing. As I wrote earlier, this being a pretty small game, the entire logic is stuff into BricksViewController.m. Let’s first take a look at it in totality and then I’ll proceed to break it up. Click on the “show source” box below to expand it.

© Arjun Roychowdhury. My personal opinions only.