danilko / topdown-2d-multiplayer

top - down 2D multiplayer base on godot
MIT License
26 stars 7 forks source link

Improve aiming of agent to fire toward crosshair #16

Closed danilko closed 3 years ago

danilko commented 3 years ago

Improve aiming and shield weapon type

As a player, I want the firing to be toward crosshair location instead of horizontal to current player direction to better able to dodge shield and hit target player.

The current aiming will actually not aim at crosshair location, but rather aim horizontal to how the weapon is placed.

Shield should have recoverable vs not recoverable to better able to balance the game, otherwise player may able to always dodge all attack with recoverable shield.

danilko commented 3 years ago

Current shield will be non-recoverable, but can now quickly build another one enable recover options.on higher price to balance game (or require certain energy charge)

Default non-recoverable shield will be lost once certain damage is received, and require player to purchase/get new one