Tag Info

Hot answers tagged


@wondra's comment that anything that does damage is a Weapon is spot-on. Don't get confused by having the class name be restrictive when it's not the right word. Perhaps in this case you want the class to be DamageDealer instead of Weapon. Another, and better, option is to use interfaces for the object types. This way you get a broad hierarchy instead of a ...


Your problem is that you are trying to make the server more authoritative than it needs to be.. the client needs to start the motion as soon as the button is pressed so there is no perceived lag, while the server is pretty much just replicating packets for other players, maybe with some sanity checking for trying to warp through walls and such if the server ...

Only top voted, non community-wiki answers of a minimum length are eligible