• Coding
  • Laser Tower Defence [2D Game]

Greetings Earthlings !


Yet , another 2D game that i wrote , i wanted to start this as a 3D one, but my GFX card is way too DECENT for that =p.

We'all know how popular tower defence games are, however, this one is a bit modified in system and enhanced with that recent technology of lasers and shit


Brief Game's System and Logic it follows explanation:
-The 'Attack-System' , pretty much characterizes strategy, the algorithm of the tower's attack is based on attacking the nearest enemy(NPC), thus it all depends on how you strategize your map , and what kind of tower to build in what location.

-The game itself follows some good logic abstraction system, and well OOPed so that it represents a good efficient framework to enable easy implementation of any monsters , maps and features to be added later on, every game objects (Structure/Npc) extends a MouseOverArea class, so its intractable and displays info about it when mouse is over.

-Uses OpenAl to play 2D tower laser shots sound-effects , starting from the center location of the map, it uses and algorithm to output sound on a 2-axis based coordinate system , or which is a 3d one but with z = same height for all coordinates, which makes it sound realistic.

Brief Game Info:
- You start with $1000

-Towers have the ability to be sold for half its price, the base can be repaired for pretty much expensive amount of cash , and you get a certain revenue off of an Npc , depending on its type and level, depending on the current map's level.

-Every Npc have distinct properties , as its own speed, damage and hit-points, you check their info by movering mouse over it.

-After every attack , there always is a cool-down period before the next attack, specific to the current map's lvl.
-This game consists of eight levels that will introduce you to 2 different Npcs , a Tank and a Helicopter.


Some Screenies:

Main Menu:


In-Game1 [Attack Moment]:


In-Game2 [Attack Moment]:


Current Plans Under Application:

- Better Graphics and more Sound-effects.
- More Details and Depth in game , more towers, more npcs and more options-[Towers upgrades,etc..]
- implementation of AStarPathFinding algorithm with heuristics, for Npcs to find the shortest path to base , starting at random positions with non linear paths to the base , taking into consideration the blocked tiles to avoid , which also enables it to solve any maze based map.
- Implementation of TileMap Tool with mods, for players to be able to create their own maps to play among.

Nightly-Build Download Link
Click Here


~Enjoy !
Good work nader, it has some potential to become really fun (now it's still meh, but the programming part and the framework for adding other aspects is at least solid).

So far this is what I'd like to see: Area of effect weapons with lack of accuracy. Laser weapons that don't do much damage but don't miss, and gattling cannons that are a good mix of accuracy and damage.

Perhaps the little npcs should have some varying and evasive maneuvers as well.

It's understandable that the graphics suck, but you may find someone interested in helping out and have their names on the game.

This game should have been made in actionscript so that you can easily distribute it. At the very least, lose the opengl binding because you hardly need it.
I hate that I cannot test your games Nader :'( When will you port them to Linux??

Anyway, it looks cool, as always :)
Thanks Arithma , well still, i preferre java on actionscripting :) , and yes indeed, the GFX is the first thing that i need to work on , i'm doing so already, as i said previously i just drew them without any focus or attention of art state, i'm pretty good with , now my prime focus is oriented towards that =]
rahmu wroteI hate that I cannot test your games Nader :'( When will you port them to Linux??
Anyway, it looks cool, as always :)
Hey Rahmu, my game supports windows, linux and mac , i have wrote a Shell Script, its called run-sh , all what you have to do is open up the terminal, set the direction of the current directory to the folder containing the "run-sh" shell script , and run it , so considering that the absolute path of the folder containing the game is /home/rahmu/Tower_Defence_Demo , then you run it as follows:

1-set path:
cd /home/rahmu/Tower_Defence_Demo
2-chmod the script:
chmod 755 run-sh
3- run the script
./run-sh
Enjoy ! =]
looks like a nice game ^_^

just one question, what language did u write it ?
I think Java... because when i tried to run it it called for Java.
bluewolf wrotelooks like a nice game ^_^

just one question, what language did u write it ?
Java :)