So, I’m in the UK right now, and will be for the next month. I would work on my fighting game, but I left the files at home (all of my unity files) and to fill my time, I’ve decided Meh, why not make an RTS kind of system. Just a basic kit that has things like camera movement, unit/building selection, and a basic move command.
So, I’ve been working a little and got camera movement with smooth height control, as well, the camera moves it’s height based on tag information, so it won’t move up or down for being over units or buildings, but will for terrain and water. (the terrain/water could be replaced with anything that has a collider)
Here’s a link to the demo so far. (**Note, it will be updated as I do stuff, so don’t expect it to be the same thing from day to day)
Anyone know where I can get some basic RTS kind of buildings and units for testing purposes? Maybe something that can be distributed with it as examples?
Oh, and this is as a learning project, so I don’t mean to intrude on anyone if they are already making something like this, or if something’s already out.
UPDATE June 16th, 11pm GMT:
Added mouse move support on the edges. Updated the file already, use the link above.
UPDATE June 19th, 1:30pm GMT:
Multiple unit selection now.
I don’t have single unit selection up and running yet. (I think that will be easier)
Anyway, check it out if you want. I’ll either do unit movement or single unit selection next… though, I don’t know how I’ll do pathing at all… (I have no experience with AI besides simple follow player stuff.)
UPDATE June 22nd, 9:30PM:
I’ve now got multi-select, deselect, single select, and additive select.
I only have the four units at the moment, but I will be working on movement, as well as building production next. (
to make more squares)
Oh, also, as you can see in the top left corner, there is a timer… Good for game time lengths, but better for building time periods. ![]()
UPDATE June 26th, 1:00AM:
Creating units from buildings, and building units finished now. Kind of buggy though on building units, because as soon as you click it de-selects the building.