Wednesday, July 15, 2009

The Excited Moment


Finally, I can show my game demo!!

This demo shows my current progress of my Tower Defense (TD) game.

Currently, the things I have done are:
-Figure designs of Free Runner (The First Enemy), Missile Launcher, Laser Launcher, Arrow Shooter, Dart Thrower, Lightning Catapult, Shockwave Tower, and Empowering Beacon.
-Actions of Free Runner include moving from one point to another point and turning to another direction.
-Collision detection for Free Runner (This may be unnecessary in my TD game).
-Tiled-based algorithm for reducing calculation purpose.
-Attack detection and animation for all the defenders.
-Special attack ability for all the defenders such as Multiple Shooting, Laser Trail, Split Arrow, Strikesmore, Great Explosion, Multi-strikes and Powerful Signal.
-Weapon upgrade for all the defenders and upgrade for Empowering Beacon.
-Hitpoint display for Free Runner.
-Game Objects Selection.
-Construction and destruction for all types of defenders.
-Control of all defenders to attack a selected enemy unit or a location.
-Game pause. (Player can give commands to all the defenders on the battlefield during the game pause)



Are you ready to kill those Free Runners that are moving around on the battlefield?



Select one of tower images on the left panel at bottom. As the picture above, I am selecting the image of Missile Launcher. Press the left key on mouse to select it.


After that, move your mouse cursor to the battlefield, you will see a half-transparent tower image following your cursor. You can move your cursor to choose a place on the battlefield in order to build the selected tower. If the image suddenly disappears before you build it, it means that you are unable to put the tower on the location. If you do not want to build the tower, press "C" to cancel it.



After you build a tower, you can select it. Firstly, move your cursor to the tower. When your cursor is on the tower, you will see a light purple selection around it. Then, press left key on mouse to select the tower. There is a blue selection representing that you are selecting a tower.


When you are putting mouse over the tower or selecting the tower, there is a red circle around the tower representing the attack range of the tower. Any enemy unit moves into this area will be detected by the tower and becomes one of the attack targets.



Meanwhile, you can see the right panel at the bottom showing the status of the selected tower including its attack damage, attack range, attack cooldown, and special attack ability.

There is an excited thing I should tell you that you can edit the status of any tower.


By editing the number of minimum attack damage, move the cursor to the text box beside "Damage", press left key on mouse, delete the number in the text box and enter the new number. After that, you should remember to press the "Update" button to update the new status. If not, you change nothing.

By the way, if you put the minimum number of attack damage is bigger than the maximum number, the 2 numbers will be swapped so that the minimum number is never bigger than the maximum number. The lowest time for attack cooldown is 0.1 second. The input number for chance is from 0 to 100.

Description of Attributes
Damage-Minimum Attack Damage ~ Maximum Attack Damage
Range-Attack Range
Cooldown
-Attack Cooldown in second, which is the waiting time to start next attack after an attack. (For all types of tower except Empowering Beacon)

-
Attack Cooldown Reduction in second, which reduces the waiting time of attack for the nearby defenders. (For Empowering Beacon)
Number-Number of targets for an attack. (For Missile Launcher)
Trail
-This attribute has 2 parameters (2 text boxes), first one is the maximum number of targets that the laser trail can damages, second one is the duration of the laser trail. (For Laser Launcher)
Number-Number of arrows will be shot on one attack. (For Arrow Shooter)
Bounces
-This attribute has 2 parameters, first one is the number of bounces for the throwing dart, second one is the bouncing range for the dart. (For Dart Thrower)
AoE
-The radius of lightning ball's explosion area. (For Lightning Catapult)
-The radius of empowering area that gives bonus to the nearby defenders. (For Empowering Beacon)
Chance
-The chance to do an extra attack after an attack. (For Shockwave Tower)


While you are selecting a unit, you can press the "Destroy" button to kill or remove the unit and press the "Cancel" button to cancel the selection.

There is a "Add Creature" button on the left panel, you can press this button to spawn more Free Runner at the random location on the battlefield. The number of Free Runner on the battlefield is limited to 20 units. You can press "Q" to see the hitpoint bar showing the life of every Free Runner on the battlefield.


The command for selecting an attack target only works during the game pause mode. Press "Space Bar" to pause the game, you will see that the figure of mouse cursor is changed. Select a tower and press "A", the figure of mouse cursor will be changed to an Attack Symbol. Then, you can select any enemy unit you want to attack. For Arrow Shooter and Lightning Catapult, you can target either an enemy unit or a location. When your tower is targeting at a location, you can press "S" to stop its attack.

Command List
CCancel the tower building selection.
Q
Display the life bar of every enemy unit.
A
Change to Selecting Target mode and select an enemy unit for the selected tower to attack.
S
Stop the current action. This command only works for Arrow Shooter and Lightning Catapult when they are targeting at a location.
Space Bar
Pause the game.


Interesting? Thank you for trying my game demo. If you find out that there is any bug in my game demo, please tell me! I will appreciate you very much. Hope you enjoy it.

No comments:

Post a Comment