Download

Processing pull \ push

I have actors that need to process something on a timer, I also have an event for the timer that I can dispatch so I don’t have constraints here.

I want to find out what is the best practice for a server authentic type of game.

Do I

  1. Have each actor bind to the event and pull down “server” variables into the actor. OR
    2.Run through an array of the actors in game mode\state and push down their state?

I get for a single-player game where you don’t need to worry about server authenticity the events would probably be faster.

Thanks in advance!