Simple RTS Game

A very simple point/click game, no sprites, no artwork, very barebones. Heavy focus on AI. I might want to nerf the AI/buff the user, because right now trying to kill an AI takes way too much time/is almost impossible.
Definitely a work in progress. I’m aware than many features do not work, and that the instructions below are a bit long for a simple game like this. I will work on making the game much more intuitive and user-friendly.

Link to download:
https://drive.google.com/file/d/0B878Iwxx9-pBeDhMblhDcVAtTXc/edit?usp=sharing

INSTRUCTIONS:

Start Screen:
Start Game begins the game.
Map Creator allows you to create maps. Create a wall by dragging and dropping your mouse. Delete a wall you’ve created by right clicking. You can save/load your maps.
Load map allows you to load maps you’ve created in the map creator (WORK IN PROGRESS)
Skill select allows you to use certain skills. Activate skills by clicking the space bar (Shield skill does not work)
Difficulty allows you to set the difficulty. Advanced is the most polished. HeurAI (heuristic AI) simply doesn’t work right now.
New Unit allows you to create a new unit.
Select from several units. Create enemy/ally units to fight against. Blue -> ally, red -> enemy.

Controls:
Highlight a unit (drag/drop your mouse) in order to control it. Your unit will become white, and gain HP/fire rate. You must select an ally unit.
WASD to move
Right click to shoot (bullets go where your mouse is)
Space to activate your special ability. Your special ability removes skill points (which are displayed in the top left of the screen once you select a unit).

Tips:
The AIs will automatically attack the weakest enemy unit on the screen, unless there’s a squaretank on the screen, which will draw all the aggro.
You can create as many units as you want, however, because I haven’t made the start menu scrolling yet, weird things happen when you create more than ~7.

thats quite interesting… they dodge the bullets so well that its very difficult to ever hit the enemies. if the ai controlled units aimed better it might be easier to catch enemies in the crossfire.

Yeah, I’m aware of it :slight_smile: I did it on purpose, challenged myself to make the best AI possible.
The user already has *2 attack speed and some movement speed. I’ll just need to increase those to make the game playable.

The AI units shoot directly at the center of the enemy unit. However, they do lead shots - try playing against an AI 1v1, and you’ll see that it tries to predict where you’ll go. However, my prediction algorithm only works if you keep going in a straight line. In short, my AIs are good against humans, who might get distracted and not dodge, but doesn’t work quite as well against other AIs, because they never go in a straight line.

i think part of making a good entity is to make it so that it moves / turns/ sees / reacts like a real world entity, rather than an all-knowing robotic ballet dancer with psychic powers.