Author: by Staff
In Gamasutra's latest feature, writer and developer John Harris discusses cellular automation, a technique for simulation currently found in such indie hits as Minecraft and Dwarf Fortress. What is cellular automation? "It allows water to flow, gases to spread, boulders to fall, and other systems propagate and change over time. To perform these feats, it runs a complex system that, each frame, decides on the contents of each cell of a grid-based game world," writes Harris, who is currently using the technique in the development of his own game, In Profundis. "While cellular automation must be designed with an eye towards minimizing processor time, it is not necessarily the case that it runs slowly. In Profundis' is fairly complex at it stands, and can handle large amounts of flowing liquid and spreading gas while still maintaining frame rates upwards of 45fps," Harris writes, before going into detail on how his game specifically handles the simulation. You can watch a video of In Profundis' cellular automation for water by clicking here. "The takeaway point here is that I covered all the relevant possible situations that a cell containing water could exist in, and just coded what should happen for each one. I didn't worry about what water should do as a body; I just focused on simulating a little bit of it, and iterated that through the whole screen in a loop," Harris explains. The full feature is live now on Gamasutra, and goes into great depth on the ins and outs of the system.
Feature: The Key To A Coding Secret From Indie Hits
May 4, 2011

Tags:
2011
Subscribe to our newsletter
About JikGuard.com
JikGuard.com, a high-tech security service provider focusing on game protection and anti-cheat, is committed to helping game companies solve the problem of cheats and hacks, and providing deeply integrated encryption protection solutions for games.
Top

I put the Galaxy Ring to the test - and it's better than my Apple Watch in one critical area
Aug. 2, 2025

Finally, an ultraportable Windows laptop I'd use at the office (even though it's for gamers)
Aug. 2, 2025

Samsung is giving new Galaxy Z Fold and Flip customers a rare $120 bonus - how to redeem it
Aug. 2, 2025

Anthropic beats OpenAI as the top LLM provider for business - and it's not even close
Aug. 2, 2025

Is your Roku TV spying on you? It's possible, but here's how to put a stop to it
Aug. 2, 2025
Recent

I put the Galaxy Ring to the test - and it's better than my Apple Watch in one critical area
Aug. 2, 2025

Finally, an ultraportable Windows laptop I'd use at the office (even though it's for gamers)
Aug. 2, 2025

Samsung is giving new Galaxy Z Fold and Flip customers a rare $120 bonus - how to redeem it
Aug. 2, 2025

Anthropic beats OpenAI as the top LLM provider for business - and it's not even close
Aug. 2, 2025

Is your Roku TV spying on you? It's possible, but here's how to put a stop to it
Aug. 2, 2025

I bought Samsung's Galaxy Watch Ultra 2025 - here's why I have buyer's remorse
Aug. 2, 2025

Gulf states reframe AI as the ‘new oil' in post‑petroleum push
Aug. 2, 2025

Physicists remain split on what quantum theory really means
Aug. 2, 2025

From concept to cornerstone, Ethereum turns ten
Aug. 2, 2025

Delta's personalised flight costs under scrutiny
Aug. 2, 2025
Blog

JikGuard game protection supports Google Play's 16 KB page-size compatibility requirement
Aug. 1, 2025

JikGuard game protection supports Steam Deck
July 30, 2025

Security Risk Analysis for Racing Games
July 28, 2025

Are there hacks that increase gacha pull rates?
July 24, 2025

VMOS Open-Source: New Threat to Game Security
July 18, 2025

How Games Detect Black and Gray Studio
July 15, 2025

How Games Detect iOS Jailbreaks
July 11, 2025

FPS Game Anti-Cheat Solution
July 9, 2025

Black and Gray Industry Insights: HappyMod
July 7, 2025

Online Game Anti-Cheat Solution
July 4, 2025
Random

These are the top 10 products readers bought in July 2025
Aug. 1, 2025

Looking for a budget travel tablet? I found one under $200 that hits all the right notes
Aug. 1, 2025

These jobs face the highest risk of AI takeover, according to Microsoft
Aug. 1, 2025

Apple's Tim Cook hints at larger AI acquisitions
Aug. 2, 2025

From concept to cornerstone, Ethereum turns ten
Aug. 2, 2025

Amazon reports $18.2B profit boost as AI strategy takes off
Aug. 2, 2025

5 ways to successfully integrate AI agents into your workplace
Aug. 1, 2025

Your Windows 11 PC has a secret emergency shutdown feature - here's how to use it
Aug. 1, 2025

Delta's personalised flight costs under scrutiny
Aug. 2, 2025

Verizon will give you up to four free iPhone 15 Plus phones - here's how to get yours
Aug. 1, 2025
Most Views

How Games Detect GameGuardian
March 17, 2025

Explanation of Game Anti-Cheat Solutions
March 17, 2025

Cheat Engine Modifier Detection Solutions
March 18, 2025

Explanation of Unity Engine Encryption Solutions
March 17, 2025

How to Anti Hack in Client-Side Games
May 21, 2025

Cocos Engine Encryption Solution
April 8, 2025

How Games Anti-Debugging
April 15, 2025

Cloud Phone Detection Solution for Gaming
May 21, 2025

How Games Detect Frida
March 25, 2025

How Games Detect PlayCover
March 26, 2025