Computer Science Canada Real Time Strategy |
Author: | DanShadow [ Thu Apr 20, 2006 1:31 am ] |
Post subject: | Real Time Strategy |
This is a Real Time Strategy (RTS) game I was developing while doing an upgrade compsci course in High School. It plays generally like most RTS' (like Age of Empires), except for a glitch I never seemed to get working... the AI. I have a fair amount of programmed AI.. but for some unknown reason all it will do is make an enemy unit run when its attacked.. and attack you back as its running for its life =). I have stopped working on this game, so please dont tell me to add to it, heh. Later on, I will be working on an RPG which later I will form into an MORPG when I get the bugs kicked out of my Java NET programs, heh. Anyway, I suggest reading the 'ReadMe' File (.html format) in the 'ReadMe' folder before playing, it will explain the game a bit better. To play the game, open 'Java RTS.html'. |
Author: | wtd [ Thu Apr 20, 2006 11:31 am ] | ||
Post subject: | |||
This just screams "use an array" to me. ![]() |
Author: | DanShadow [ Thu Apr 20, 2006 1:42 pm ] |
Post subject: | |
umm...I dont remember posting my source, did you decompile it? Anyway.. yeah I know ![]() But yeah, this game was written pretty badly, and I have learned from my mistakes. Instead of connecting the Graphics2D console to different methods, I just used the paint(Graphics g) method to draw about everything ![]() |
Author: | DanShadow [ Thu Apr 20, 2006 1:45 pm ] |
Post subject: | |
Oh, lol... I did post source, woops. Yeah, I intended just to post the game and its classes for people to see the game itself. [edits .zip file] |