BRyeGmoney / ForTheLoveOfPower

The repo for the best game ever being worked on by absurdomatic games during this game's development cycle.
2 stars 0 forks source link

Ensure Units Are Visible Across All Screens #4

Closed BRyeGmoney closed 9 years ago

BRyeGmoney commented 10 years ago

Two Step Process:

  1. Ensure all units are actually visible and all their details associated with them when created.
  2. Keep constantly polling all player's units for any changes that may have happened.
BRyeGmoney commented 9 years ago

mpworks

holy fucking shit, it works. jesus that was way more work than i'd like. future plans for mp efficiency:

  1. create a Packet type to just shove all the transmitting information into. This will cut out the need to keep two queues for units and structures. Instead a single packet object containing a network packet type of STRUCTURE, UNIT_ADD, or UNIT_UPDATE would suffice.