For anyone interested, this is my projects barebones:
I borrowed all of my icons from the internet for the time being. You’ll notice some of the icons come straight from C&C. I do not plan on releasing them this way, they are just placeholders so I could see what building/unit I was actually building lol. Still a lot left to do, but here’s an overview of the features so far:
There are 5 different building types at the moment. Names have been ripped from C&C as well, but I do not plan on keeping them this way. Those buildings are:
Construction Yard - Main base, need this to build anything.
Barracks - Land Unit Creation.
Refinery - For gathering resources (currency).
Power Plant - Adds energy to your base.
War Factory - Land Vehicle Creation.
As for Units, there are currently only 3:
Soldier - Most basic land unit.
Tank - Most basic vehicle unit (will probably change).
Harvester - Harvests resources for you and takes them back to base.
Unit creation queue works flawlessly. Building creation does not queue, and I do not plan on adding a queue for them.
Bringing your energy level below 0 will turn all power off to your base and will render buildings useless until you bring your energy level to a positive number by building power plants.
As of right now, you are allowed to bring your currency to a negative balance. I have yet to implement anything to catch that. Will probably be the next thing I do.
You may group units into different groups by pressing SHIFT + 1-9 on your keyboard. A single unit is allowed to be a part of multiple groups.
that’s about it so far. Building creation and placement is all set on a grid in which the tile size is 5x5, and you may not overlap buildings when placing them. If you right-click before you place a building, it will give you your money back and delete the building. As of yet, you cannot pause or cancel building by right-clicking the build button, since Unity doesn’t have built-in support for right-clicking buttons I will have to either wait for them to support it (which could possibly be never), or I can extend the Button class myself and do it, which is probably what will end up happening.
Pretty much, I have the basics of an RTS on my hands… xP
Download:
http://www.filedropper.com/rts
PS: sorry for the external mirror. I’m having problems with my website host atm. Whenever they get my darn website back up I’ll give a better mirror.