Prabhu Kumar

a tech twaddler..

Archive for August, 2009

Skeletons of a game, DirectDraw, Part 12

without comments

If you are following this blog then you probably know that I have been itching to do some sort of a simple game. In this post I will explain the bare bones of simple game which I call "Crash Marbles".

 

The objectives of the game are simple,

 

1) Avoid contact with the evil marbles (Currently, the color of both the evil marbles and the protagonist marble is the same, I will change that soon)

 

2) Collect the Blue sapphire which appears randomly on the screen to score points

 

3) Every time you collect the blue sapphire you gain 10 points

 

4) And every time the evil marbles touch you, you lose 10 percent of your points. I initially coded for making you lose 20% of the points but I figured that the penalty is a bit too much and my score never went beyond 150. So I changed it to 10% (:

 

I am not going to explain the code here because there is hardly any new changes/logic in the code. The code is more or less the same as this post. You may also look here. What I am going to show you is, you guessed it, the video. So here comes:

The first video does not have audio, the background noise was too much so I mute the video.

 

 

Written by Prabhu Kumar

August 12th, 2009 at 11:21 pm

Posted in Uncategorized

Windows Mobile: “How Do I?” videos

without comments

Written by Prabhu Kumar

August 12th, 2009 at 11:20 pm

Posted in Uncategorized

The Last Lecture: Randy Pausch

without comments

Have you seen the The Last Lecture by Randy Pausch?

Written by Prabhu Kumar

August 12th, 2009 at 11:19 pm

Posted in Uncategorized