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
New Phishing Campaign Abuses ConnectWise ScreenConnect to Take Over Devices
Aug. 27, 2025
New Data Theft Campaign Targets Salesforce via Salesloft App
Aug. 27, 2025
ENISA to Coordinate €36m EU-Wide Incident Response Scheme
Aug. 27, 2025
Citrix Patches Three NetScaler Zero Days as One Sees Active Exploitation
Aug. 27, 2025
ShadowSilk Campaign Targets Central Asian Governments
Aug. 27, 2025
Recent
New Phishing Campaign Abuses ConnectWise ScreenConnect to Take Over Devices
Aug. 27, 2025
New Data Theft Campaign Targets Salesforce via Salesloft App
Aug. 27, 2025
ENISA to Coordinate €36m EU-Wide Incident Response Scheme
Aug. 27, 2025
Citrix Patches Three NetScaler Zero Days as One Sees Active Exploitation
Aug. 27, 2025
ShadowSilk Campaign Targets Central Asian Governments
Aug. 27, 2025
Nevada “Network Security Incident” Shuts Down State Offices and Services
Aug. 27, 2025
Researchers Discover First Reported AI-Powered Ransomware
Aug. 27, 2025
CISA Strengthens Software Procurement Security With New Tool
Aug. 27, 2025
PlayStation CEO says firm is implementing measures to minimise impact of cancellations
Aug. 27, 2025
Ubisoft CEO Yves Guillemot summoned to appear before French court
Aug. 27, 2025
Blog
x64dbg Dynamic Debugging Detection Solution
Feb. 3, 2026
How to Detect Game Direct-Install Hacks
Jan. 26, 2026
How to Detect SRPatch Signature Verification Bypass Tools
Jan. 19, 2026
How games prevent communication data tampering
Jan. 13, 2026
Unity Mini-Game Code Encryption Feature Now Available
Jan. 9, 2026
Magisk Cheat Tool Detection Solution
Dec. 30, 2025
Game Risk Environment Detection Solution
Dec. 25, 2025
Japan Allows Side-Loading on iPhones, Game security faces new challenges
Dec. 23, 2025
iOS Developer Signature Bypass Solution
Dec. 18, 2025
JikGuard Game Protection Product FAQ
Dec. 16, 2025
Random
Developer Rec Room lays off 'about half' its staff
Aug. 26, 2025
Crystal Dynamics lays off "a number of talented colleagues"
Aug. 27, 2025
"Performance didn't matter" in King layoffs, sources claim in new report
Aug. 27, 2025
ENISA to Coordinate €36m EU-Wide Incident Response Scheme
Aug. 27, 2025
Ubisoft CEO summoned to court in harassment case
Aug. 26, 2025
PlayStation CEO says firm is implementing measures to minimise impact of cancellations
Aug. 27, 2025
Attackers Abuse Virtual Private Servers to Compromise SaaS Accounts
Aug. 22, 2025
Tech Manufacturer Data I/O Hit by Ransomware
Aug. 26, 2025
Square Enix shutters two ten-year-old mobile games
Aug. 27, 2025
CISA Seeks Biden Era's SBOM Minimum Requirements Guideline Change
Aug. 25, 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