Rescue the Baby

The full name of game is "Rescue the baby from Jurassic Park". As the name states, the goal is to rescue the baby from a lot of dinosaurs. The game is written by Kyle Sun (kanghons), a CMU graduate student, for the weekly assignment #2 of 15-466 Game Programming in Fall 2009. The sound files are downloaded through internet and converted to wave files.

Goal

The main character in the game is you, but hidden at the behind. A baby, which is the green circle, unfortunately, gets lost in the Jurassic Park. As educated by his family, he knows himself'd better stay the same place and wait for help. However, he does not realize this is the Jurassic Park, where there are a lot of dinosaurs, which are red circles around him. They dislike human's food and are very eager to eat some real meat, namely, the baby. They are walking around. Luckily, now this is 21st century. The baby himself is equipped by a very nice device which can transmit the sound around him to the outside, namely, you. This means, you can hear whatever the baby hears. And you have a powerful anaesthetic rifle with some magic light which can show you all the things near the aim. So, you want to shoot those dinosaurs, within limited bullets. So, if you successfully anaesthetize all the dinosaurs, you win. Use mouse to control your rifle. Enjoy the game!

Method

Drawing and rendering objects, I use SDL and nest library. The procedure is first drawing dinosaurs then cursor then the light which gets rid of dinosaurs outside then the baby and at last some game information. For sound, I use OpenAL with ALUT to play the sound. At first, I suppose let user guess the positions of dinosaurs only by the sounds. Then I realized it is really hard for players. Then I decides to show the dinosaurs but the game seems too easy. Finally I add the difficulty by introducing the shadows, which the user can only see a tiny square of screen at once.

Novelty

The game is perfectly a combination of a pure shooting game and some sound puzzle. The players are not only to use riflescope, they need the sound clues.

Results

The game is done pretty well. All my goals are fulfilled. There are some future works could be done, such as adding configuration, introducing some map, more natual dinosaurs motion and real pictures of objects, etc. There are a lot of things to do to make a perfect game. But after all, the game is pretty much done. There is one thing I tried to solve but failed is that when I quit playing the game and returning to the main screen, it would still play the sound because the screen still calling its update(). In update(), when it finds the sound is not playing, it would automatically starts. Now I simply depurate this feature by exit the game instead of return to main menu. Another thing need to mentioned is that there are some warning in alut/openal library. I change the Jamfile to let it not treating warning as error.