Author: Paul Berlin, © Freeware 2003
Additions: rudz.dk 2005–2011
Using the fmod sound library, http://www.fmod.org.
More credits at the bottom of the document.
Please vote for Marbles 1.1 at PlanetSourceCode.
Feel free to change/add/improve this code, but if you do,
I would appreciate if you send me the updated code =).
If you use this code in any of your own projects, please
mention me in your credits.
Do not quit the ‘Marbles Launch.exe’ process manually.
What’s new in version 1.1b (August 2011):
- dx8vb.dll included, later windows versions needs this.
- Whipped together ‘Marbles Launch.exe’ to start game with on newer windows, Vista/7 etc.
- Optimized the in-game fonts.
- Updated this read me.
What’s new in version 1.1a:
- Added 16 module tunes (fmod oxm format), switch in-game using F5.
- Most sfx files are ogg instead of wav.
- Cleaned code up quite a bit.
- Game is generally optimized, lower requirements a bit.
- Updated fmod.dll to 3.71.
What’s new in version 1.1:
- Adjusted game play to reduce playing time: you get less bombs, bombs no longer give10 extra seconds, but time bonuses now appear even if time is more than 60 seconds.
- Changed beep sound when time is low to tick sound.
- Added graphics to show when you gain another bomb.
- You can now enter high scores containing special characters.
- dx8vb.dll (included).
- fmod.dll version 3.x (3.7.1 included).
- Visual Basic 6 Run time Libraries.
- Windows 98 or Newer.
- 3D Accelerated graphic card comp. with Direct X.
- Sound card comp. with Direct X.
- Mouse & Keyboard comp. with Direct X.
- GeForce 2 MX or better graphics card.
- 500MHz Intel Pentium compatible CPU.
My Athlon 1,2 GHz with an GeForce 2 Pro, gives about 350 fps when in game,
but can go down as low as 100–150 fps (well that isn’t low exactly…) when there are many
marbles exploding at once.
The goal of the game is to get as much points as possible.
Points are earned by forming rows of at least 3 marbles of same color.
You form rows by moving marbles, but you can only move an marble if it,
at it’s new position, forms an row.
You move marbles by clicking on one marble and then clicking on its new position.
You can only move an marble one step vertical or horizontal, not diagonal.
I’m sure you will get the hang of it…
You have an limited amount of time to get your points. The clock starts at 90 seconds,
but you can increase it up to 120 seconds. You gain more time by creating chain reactions
and taking time bonuses. When the time hits 0 the game is over. If you gain more time when the
clock already is at it’s highest (120 seconds), you will gain points instead (lot’s of them).
You also have bombs, which will remove an 3x3 area of marbles. Right click to use them.
You have 3 bombs when you start, but can gain more by creating chain reactions at 5,
8 and 10 chains.
Creating rows of marbles will give you 10 points for each marble, but that will be
multiplied with the amount of chain reactions you have created. The key to points
is to create chain reactions!
Some marbles have special properties. They will have an small icon over them, showing
which special property it is. Some properties only appear after you get over an certain
amount of points.
This special will, when removed, clear the entire horizontal row it is located at.
This special will, when removed, clear the entire vertical row it is located at.
This special will, when removed, clear all the other marbles of the same color.
This special will, when removed, will increase your chain reaction count, and
thus give you more points and time.
This special will, when removed, will give you an extra 5 seconds.
This special will make it’s marble change color every 10 seconds.
This special will defend it’s marble from being removed one time.
- You can remove highscore.dat to clear the high score.
- If you are low on time, use a bomb, it will give you 10 seconds extra.
- You can turn on/off showing of fps by pressing F at the main title screen.
- Press F5 while in game to switch music.
- If there are no moves left and you want to end the game, just select End Game from the game menu or press F12. You will still be able to enter an high score.
- Some parts of the code may seem like an mess… Well it is =).
- Sorry… I tried to comment as much as possible, but mostly I forgot. =)
- An newer version of the game engine, PGE, can be downloaded from PlanetSourceCode.
- Programming, design & graphics by Paul Berlin 2003.
- Using the fmod sound library, http://www.fmod.org.
- Game engine was based on the Boom2D Engine, also available on PlanetSourceCode.
- All music credits goes to their respective creators.
- Sound effects from various sources, mostly from the internet.
Paul Berlin, born 1982, from south Sweden.