andrew-delph / libgdx-game

A game inspired by Terraria and tower defense, featuring multiplayer support, procedural world generation.
1 stars 0 forks source link

tool activation #280

Open andrew-delph opened 2 years ago

andrew-delph commented 2 years ago

activation function on tool interface

ray cast for collision

attack timout. bound to entity gcd

andrew-delph commented 2 years ago

when an entity attacks. i hit everyone but the owners. PVP mode on

andrew-delph commented 2 years ago

attacks use:

the attack is calculated base of the entity calling the tool. also depending on the tool used.

Then it will generated events based off the event of the attack