Page 1 of 1

Tower Defence

Posted: Mon Sep 06, 2010 3:18 pm
by zeid
For one of my uni workshops I had to make a tower defence game in a week. This particular assesment was all about AI, we needed to integrate the A* algorithm. I also added flocking behaviour. I skipped adding in influence map stuff but might do so tomorrow if I can be bothered.

Here is a link to the game, hopefully it works on everyone's machines with sound;
DOWNLOAD v1
DOWNLOAD v2 - with Influence Map

Here is a screeny;
Image

**EDIT**
I should probably mention the controls;
Left Mouse Button creates A Tower (you need $10, your money is shown in the top left).
Right Mouse Button deletes a Tower (you do not get refunded anything).

Re: Tower Defence

Posted: Mon Sep 06, 2010 3:19 pm
by eatcomics
that's pretty freakin sweet

Re: Tower Defence

Posted: Mon Sep 06, 2010 4:12 pm
by GroundUpEngine
Really cool man! A while back I was thinkin of trying something similar 8-)
systat wrote:Sweet, but why is it almost 30 mb?
Theres a music file called "rapid_arc.wav" which is about 31mb.

Re: Tower Defence

Posted: Mon Sep 06, 2010 4:19 pm
by systat
I've finally downloaded it, but sadly it doesn't seem to work on Windows 7 64bit, here is the error:

Image

In next project please use .mp3 for music, or even better use mp3lame to compress sounds :=)
That 30 mb sound file could be compressed to 2-3 mb :p
Screenie looks nice.

Re: Tower Defence

Posted: Mon Sep 06, 2010 5:14 pm
by dandymcgee
I made it to 340.. it's fairly difficult. Fun as hell though.

Would be much easier if I could tell where my cursor was before I'm at $10. Also, sometimes the towers randomly stop shooting.

Re: Tower Defence

Posted: Tue Sep 07, 2010 6:55 am
by MrDeathNote
Looks bad ass for one weeks work dude nice job :)

Re: Tower Defence

Posted: Tue Sep 07, 2010 10:54 am
by zeid
That 30 mb sound file could be compressed to 2-3 mb :p
I'm using openAL for sound which doesn't support mp3 format. I could use something else as well as openAL for the background music, but as it was a school assignment and I have a lot of work as is, I figured I would go easy on myself.
Looks bad ass for one weeks work dude nice job :)
Thanks I spent more like 3 days on it (I really should have been doing other assignments) most of my time was used to polish it up.
I've finally downloaded it, but sadly it doesn't seem to work on Windows 7 64bit, here is the error:
Odd, I developed it on win7 64bit. Not sure what the error is about.
Would be much easier if I could tell where my cursor was before I'm at $10. Also, sometimes the towers randomly stop shooting.
In the latest version the $10 has been made more obvious when you have less then 10.
The towers stop working sometimes because of some optimization code I did that groups near enemies together. Not sure where I went wrong and can't be bothered to fix that issues, sorry :P. Fixed the towers occasionally not firing issue in the latest version.

Here is the latest version with influence map code, as per assignment requirements (not sure how well it works with the game).
DOWNLOAD
DOWNLOAD

Re: Tower Defence

Posted: Tue Sep 07, 2010 7:28 pm
by epicasian
I have to show this... :lol:

Image

Re: Tower Defence

Posted: Tue Sep 07, 2010 11:16 pm
by dandymcgee
New version is MUCH MUCH easier. Made it to like wave 150.