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;
**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).
Tower Defence
Moderator: PC Supremacists
Tower Defence
Last edited by zeid on Tue Sep 07, 2010 1:25 pm, edited 3 times in total.
Re: Tower Defence
that's pretty freakin sweet
- GroundUpEngine
- Chaos Rift Devotee
- Posts: 835
- Joined: Sun Nov 08, 2009 2:01 pm
- Current Project: mixture
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Location: UK
Re: Tower Defence
Really cool man! A while back I was thinkin of trying something similar
Theres a music file called "rapid_arc.wav" which is about 31mb.systat wrote:Sweet, but why is it almost 30 mb?
Re: Tower Defence
I've finally downloaded it, but sadly it doesn't seem to work on Windows 7 64bit, here is the error:
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.
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.
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Tower Defence
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.
Would be much easier if I could tell where my cursor was before I'm at $10. Also, sometimes the towers randomly stop shooting.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- MrDeathNote
- ES Beta Backer
- Posts: 594
- Joined: Sun Oct 11, 2009 9:57 am
- Current Project: cocos2d-x project
- Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
- Programming Language of Choice: C/++
- Location: Belfast, Ireland
- Contact:
Re: Tower Defence
Looks bad ass for one weeks work dude nice job
http://www.youtube.com/user/MrDeathNote1988
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
Re: Tower Defence
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.That 30 mb sound file could be compressed to 2-3 mb :p
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.Looks bad ass for one weeks work dude nice job
Odd, I developed it on win7 64bit. Not sure what the error is about.I've finally downloaded it, but sadly it doesn't seem to work on Windows 7 64bit, here is the error:
In the latest version the $10 has been made more obvious when you have less then 10.Would be much easier if I could tell where my cursor was before I'm at $10. Also, sometimes the towers randomly stop shooting.
The towers stop working sometimes because of some optimization code I did that groups near enemies together.
Here is the latest version with influence map code, as per assignment requirements (not sure how well it works with the game).
DOWNLOAD
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Tower Defence
New version is MUCH MUCH easier. Made it to like wave 150.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!