Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UDP/TCP Hybrid Game
#9
Thats what I did, and it seems to work pretty well. Keep a variable for every stat that needs to be updated when it changes. Every time you assign a value to the stat, check if it is a new value. If so, set the changed flag to true. Then, every few hundred milisecs, check through all the variables and see if you need to update.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)