Computer Science Canada

Work in Progress - TD?

Author:  Flikerator [ Thu Apr 12, 2007 10:05 pm ]
Post subject:  Work in Progress - TD?

I was extremely bored, and so to give Turing one last "Huzah" before I start Java I decided to start coding a Tower Defense Engine. I'm not sure if I will make it into a game, but I will build the engine. Maybe make it modular and release it on here? Who knows. For now its just for fun.

Commands
-------------
'Up' Increase building size
'Down' Decrease building size
'+' Zoom out
'-' Zoom in
'Right click' Change building type
'Left click' Build building

There are some limitations, such as not being able to build a building off the screen even if that space is clear. You can only zoom in so close or far away (I can change them, but it makes it slow/look wierd). The buildings can only go so large (It really slows down the zoom when its large, as you may notice). There are only two "building types". (Which means, you build around your mouse, or away from it). You can't do anything; thats a large limitation. Its just the bare bones right now, still lots to do.

It does take longer to do something after you build with a big building. Its not just "slow", I put it in there to test if I could control building speed easily; I can.

Nothing really "mind boggling". I may work on scrolling next (not implemented yet) as you are stuck at the bottom left corner of the "map". If you have any ideas let me know, although I'm not trying to make a game, just an engine to build a game with. This is Stage 1 of three (Building, Pathing, AI (a two parter, of monsters and of towers)). The main concept behind it, is giving the user complete control. An example, they can target certain monsters with towers, which will plan in ahead whether they can attack other non targeted monsters. There goal would be to kill the target as quick as possible, but if they can get hits in first on a different monster to do that (In the case of it being far away).

I had an idea for arrow towers to predict relatively where the monster will be, depending on its speed and to fire to that location. So the 'arrow' is travelling (It uses a 3D illusion to make the arrow look like its rising and then falling) not at the monster, but where it might end up. That way it can miss if the monster changes speed (part of the monsters AI). There are dozens of variations and ideas for just that aspect, so this should be fun.

Anyways its late (here anyways). Enjoy. (Change file to .exe)

Author:  ericfourfour [ Thu Apr 12, 2007 11:29 pm ]
Post subject:  Re: Work in Progress - TD?

Can you zip the file so it will download faster? This will also remove the necessity to rename it to .exe.


: