Malakahh / VikingGame

A downscrolling shoot 'em up featuring whacky vikings
0 stars 0 forks source link

Target prioritization and repeated shooting #10

Open Malakahh opened 8 years ago

Malakahh commented 8 years ago

Weapons should correctly prioritize targets within range. Weapons select a target, and attempt to kill that target while it is in range. This means that no target switching occurs unless one of the following is true:

Weapons should shoot at a certain rate. Weapons shoot and select targets automatically.

Maybe make an AI for this, using discontent?

Malakahh commented 8 years ago

Basic prioritization and firerate down. Should make some exception to switch targets that have a shit priority. No reason continuing to shoot at a target you deal 1% damage to, if a 120% target is in range. Still, shouldn't stop shooting at a 100 target if a 120% is in range.

A basic AI would be good here. Discontent could definately work