Skeletons of a game, DirectDraw, Part 12

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.



Windows Mobile: “How Do I?” videos

There is a compilation of quite a few "How Do I?" videos related to windows mobile here. Take a look in your free time, some videos might be of interest to you.

Videos I liked:
How Do I: Use Bing inside a Windows Mobile Application?
How Do I: Create Localized Applications on Windows Mobile Devices?
How Do I: Use the GPS Intermediate Driver to Retrieve Location Information?
How Do I: Associate an Application with the Hardware Buttons on a Windows Mobile Device?
How Do I: Schedule an Application to Run at a Specific Time?
How Do I: Get an Application to Automatically Start When a Mobile Device Wakes Up?