TUXDB - LINUX GAMING AGGREGATE
by NuSuey
NEWSFEED
▪️ GAMES
▪️ STEAM DECK ▪️ DEALS ▪️ CROWDFUNDING ▪️ COMMUNITY
tuxdb.com logo
Support tuxDB on Patreon
Currently supported by 8 awesome people!

🌟 Special thanks to our amazing supporters:


✨ $10 Tier: [Geeks Love Detail]
🌈 $5 Tier: [Arch Toasty][Benedikt][David Martínez Martí]


Improving AI Performance

Hi all, Steve here! There's been some monstrous performance spikes in our AI, and I've spent time over the last month working to mitigate this issue. Two significant changes have been made to improve this: 1 - the addition of a pool of Dictionaries to store states, and 2 - making each state item immutable This vastly reduces object creation, which is slow, and reduces the number of objects in existence, which helps reduce memory fragmentation (another Bad Thing) - which, being C#, is harder to control than in C++.

DICTIONARY POOL


So what's a Dictionary Pool, you may ask! Well, at its simplest (which this is), it's a big list of pre-made Dictionaries, each with a flag on to indicate if it's being used. When we want a Dictionary, we grab one from the pool, put it in a list of 'in-use' Dictionaries, and mark it as being used. When the object using it is destroyed, we mark it as free, and put it back in the pool for someone else to use. The key here is to be very strict on who is using your object! It's critical that nobody is using it when it's marked as free, or the whole concept breaks down.

IMMUTABILITY


And immutable states? Immutability is another weird software-engineer-y word. In english, it means something that never changes. But that's perhaps misleading when it comes to thinking about objects in Unity - what use is an object you cannot alter? The answer is that while you can't change the object, you can create a new one to reflect this change. This means you have precisely one instance of any particular combination of object. For us, this means that instead of creating hundreds of thousands (no exaggeration) of states, all duplicates of one another, we create... about seventy. The overhead of querying a Dictionary for the instance of the state we want is much, much less than creating a tiny object, then destroying it, repeatedly.
These two changes weren't trivial, as such, but were fairly self contained, and only produced a handful of super frustrating bugs that I had to then work against for a week or two.
Back within 60fps, but still a lot of garbage to deal with! But the good news is that performance improved drastically! We are now back to 60fps within the editor on my machine, mostly. Which was a relief because I feared for a moment or two that I'd accidentally extended the AI system in such a way that it would never be useful in a finished game, which would have been embarrassing. -Steve If you havent already - be sure to wishlist and follow OFF GRID! Each wishlist makes a big difference to us, and we really appreciate your support!


[ 2018-12-11 17:35:06 CET ] [ Original post ]



Off Grid
Semaeopus
  • Developer

  • Semaeopus
  • Publisher

  • Coming soon
  • Release

  • Indie Strategy Adventure Simulation Singleplayer
  • Tags

  • Game News Posts 74  
    🎹🖱️Keyboard + Mouse
    🎮 Full Controller Support
  • Controls

  • No user reviews

    (0 reviews)


  • Review Score

  • http://offgridthegame.com/
  • Website

  • https://store.steampowered.com/app/526720 
  • Steam Store

  • The Game includes VR Support

    Off Grid is a 3rd person stealth hacking game where data is your most powerful weapon. Off Grid forgoes combat for hacking tools and ingenuity, and is completely moddable.

    Gameplay utilises unique mechanics that allow you to manipulate the world and people around you with the data they unwittingly leave behind. It’s a stealth game where the player can truly hack and manipulate objects in the environment.

    Players, modders, and hackers will be able to use the game to create new and interesting levels with stories about surveillance, hacking and the internet of things.

    Features:


    • Stealth and hacking gameplay based on use of data and environments rather than weapons and combat

    • Hack into lifelike simulated networks and data with realistic hacking techniques and tools including SSH, sidejacking, and social engineering of the AI

    • Contemporary storyline and missions related to real-world events surrounding data privacy and mass surveillance

    • Fully moddable content encouraging players to create new and interesting levels, whether complete fantasy or mimicking hacking in the real world around them

    • Outstanding audio and original soundtrack from Jonas Jensen and Lyndon Holland, the BAFTA-winning composer from the game Virginia
    MINIMAL SETUP
    • OS: Ubuntu 16.4 or equivalent
    • Processor: Intel Core i5 2300 or AMD FX6120Memory: 6 GB RAM
    • Memory: 6 GB RAM
    • Graphics: GeForce GTX 550 Ti or Radeon HD 6770
    • Storage: 10 GB available space
    RECOMMENDED SETUP
    • OS: RISC architecture is gonna change everything
    • Processor: P6 chip. Triple the speed of the Pentium
    • Graphics: 3Dfx Voodoo capable GFX cardSound Card: The Sound Blaster 1.0 ( "Killer Kard")Additional Notes: 28.8 KBPS Modem
    GAMEBILLET

    [ 5951 ]

    10.00$ (50%)
    4.25$ (83%)
    5.09$ (15%)
    6.79$ (15%)
    4.24$ (15%)
    5.40$ (73%)
    22.99$ (62%)
    12.42$ (17%)
    16.39$ (18%)
    17.62$ (71%)
    12.59$ (16%)
    12.72$ (15%)
    10.13$ (66%)
    2.72$ (73%)
    20.00$ (50%)
    13.79$ (8%)
    38.69$ (23%)
    16.94$ (15%)
    2.22$ (78%)
    16.74$ (33%)
    19.97$ (20%)
    16.52$ (17%)
    6.68$ (81%)
    32.02$ (47%)
    21.99$ (12%)
    25.49$ (-70%)
    16.99$ (43%)
    8.30$ (58%)
    3.08$ (92%)
    25.47$ (15%)
    GAMERSGATE

    [ 3198 ]

    5.4$ (82%)
    9.79$ (30%)
    9.99$ (50%)
    15.0$ (70%)
    3.75$ (75%)
    0.51$ (74%)
    0.6$ (92%)
    3.19$ (79%)
    0.75$ (92%)
    1.05$ (85%)
    20.09$ (50%)
    3.0$ (80%)
    4.0$ (80%)
    3.75$ (92%)
    27.99$ (30%)
    1.5$ (85%)
    3.75$ (75%)
    0.89$ (87%)
    0.38$ (92%)
    1.5$ (81%)
    9.99$ (50%)
    8.24$ (59%)
    1.05$ (85%)
    2.81$ (81%)
    23.44$ (33%)
    5.4$ (64%)
    7.5$ (70%)
    25.0$ (50%)
    0.75$ (92%)
    3.75$ (81%)

    FANATICAL BUNDLES

    Time left:

    1 days, 16 hours, 58 minutes


    Time left:

    24 days, 16 hours, 58 minutes


    Time left:

    6 days, 16 hours, 58 minutes


    Time left:

    37 days, 16 hours, 58 minutes


    Time left:

    43 days, 16 hours, 58 minutes


    HUMBLE BUNDLES

    Time left:

    4 days, 10 hours, 58 minutes


    Time left:

    4 days, 10 hours, 58 minutes


    Time left:

    13 days, 10 hours, 58 minutes


    Time left:

    20 days, 10 hours, 58 minutes

    by buying games/dlcs from affiliate links you are supporting tuxDB
    🔴 LIVE