Saturday, October 11, 2014

Updating the Vacuum Code

So for any of you who have played the first version of the Alpha you know that too much vacuum in the space station can really slow down the game. I've been working hard to overcome this and nearly have the entire vacuum system retooled. Rooms in the station are now much smaller and more modular. This should make combat much more interesting and allows for the game to much more easily handle a spreading vacuum. Previously the game was trying to calculate where the vacuum was spreading with thousands of calculations and then check for collisions. This resulting in tens of thousands or hundreds of thousands of calculations happening on top of all the typical game material. This new system reduces that load to a few hundred, more a thousand or two maximum, calculations occurring (and that's assuming you've vented all the air in your station). So everyone should see a drastic improvement in this aspect. This update also allows doors to function more easily and to re-air sections that were exposed but were then closed off from the location of the vacuum.

No comments:

Post a Comment