View Full Version : Weapons of War

29-09-2005, 09:07 PM
Just a small project I did tonight for a local game dev contest. (Now my work project is live I have some time for these things again).

Its a small game based on Jawbreaker (Pocket PC game). Just adding that you need to score a certian amount of points to advance a level.

and the source from

You will need the SDL libraries to run the game - available from
If you dont have them - unzip to windows system directory or same directory as the game exe.

The Background used in the game is made with Vue Esprit and the graphics as usual come from Reiner Prokien.

(The installer is the first installer I have created with the prize I won from the OnGameDev contest)

30-09-2005, 07:59 AM
Hi cairnswm,

I tried you game and it works pretty good. A few things I noticed.

:arrow: before I started the game, I was listening to some music (in media player). At the moment the game was started, sound was gone and didn't came back until the game was closed.
I'm not sure if its possible with SDL, but I was wondering if its possible to keep any existing sounds alive.

:arrow: While playing the first level I suddenly jumped to level 2 without any notification of why. I think this is a bit confusing to players.

:arrow: the same occurs at the end of the game. I assume because there were no more moves, but it would be nice to have that visible within a message before the thank you for playing message appears.

:arrow: After the thank you for playing message I leave the game immediately. Dont you want people to play your game more than once?

:arrow: It must be my bad skills, but I never came past level 2. Are levels predesigned or random?

:arrow: Installation works great. deInstall suffers from the same problem as a lot of others. The log file prevents deleting the entire directory tree.
I suppose its little trouble to do it manually, but still it is a tiny bit annoying.

14-10-2005, 05:32 AM
An update to Weapons of War is available. Fixed some things I couldn;t get done when I wrote the game

- Indication of Level Up
- Text indication of good scores
- High Score List
- Option to play again when a game is finished

Binary installer is http://www.cairnsgames.co.za/download.asp?file=files/weapons-install.zip
Source code is http://www.cairnsgames.co.za/download.asp?file=files/weapons-source.zip

If anyone tries the source and finds a problem let me know as I had to zip it from multiple directories.

Feedback on Travelers points:
1. Nothing changed - I presume its using the SDL_Mixer stuff somewhere and therefore superceeds the existing sounds. I will try remove on the next version.
2. The new version shows that you leveled up
3. End of the game goes stright to the High Scores Screen. You are correct that these happen when there are no more moves left.
4. At end of the game you can nw choose to play again
5. The Levels are random but I can almost always get to level 4. The idea of the game is to reward planning and you need to make the scoring groups as big as possible to score max points
6. I have included the High Score file and a blank log in the installation so it should be able to remove the whole directory structure on uninstall.

Hope you like it :)

20-10-2005, 05:36 AM
Weapons of War has been updated. Sound effects have been added.

I also found a bug in the scoring system which I fixed, actually I chanegd the scoring system a bit to make bigger groups worth a lot more points.

Links to the installer remain as above - I havn;t yet loaded the new source.

25-10-2005, 07:13 AM
Hi cairnswm,
I'll post a news item about your update later today or tomorrow if you update the source.

29-10-2005, 08:47 AM
Appologies for the delay in posting the news item, but it is finally done.

31-10-2005, 08:26 AM
Thanks :)

I'll let you know when the source is updated. At the moment I'm trying to improve my text routines a bit to make better laid out text strings.

19-08-2007, 06:50 PM
OffTopic - Game Maker post.

One of my favorite themes to use as a learning game is my Weapons of War game. After having done a couple of articles for the DevMag on Game Maker I decided I better do something in it So I sat down and wrote Weapons of War once again in game maker.

The executable can be found here: http://www.gamedev.za.net/filecloset/data/files/153/WeaponsOfWar.zip

The source version can be found here: http://www.gamedev.za.net/filecloset/data/files/154/WeaponsOfWarGM6.zip

I have done this game in as close to the same way as I would have done it in Delphi. in other words I havn't used the standard actions that Game Maker has but instead have done everything in GML instead. This raised some interesting challenges as in many cases I would have prefered extending the functionality of an object rather than developing external scripts. But using the external scripts has worked quite well using some global arrays.

It took me less than 10 hours to complete. Luckily I had most of the Images from my Delphi version of Weapons of War.