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
JikGuard Game Protection Now Fully Compatible with Android 17
Aug. 25, 2026
Cover Blown: How Games Detect PlayCover
Aug. 6, 2026
Cracked Wide Open: How to Encrypt Cocos Engine Games
July 3, 2026
Phones That Don't Exist: How Games Detect Cloud Phones
June 26, 2026
How Games Detect Memory Modification
June 17, 2026
Hooked: How Mobile Games Detect the Xposed Framework
June 12, 2026
Why Unity AssetBundle Encryption Must Support Hot Updates
June 5, 2026
How Mobile Games Detect Rooted Devices
May 29, 2026
Inside IDA Anti-Debugging & Anti-Disassembly: Challenges and Countermeasures
May 22, 2026
JikGuard Game Protection Tool Now Released for macOS
May 15, 2026
Random
Citrix Patches Three NetScaler Zero Days as One Sees Active Exploitation
Aug. 27, 2025
MARVEL RIVALS Leak Hints Deadpool And Daredevil May Be Coming Soon
Aug. 27, 2025
ENISA to Coordinate €36m EU-Wide Incident Response Scheme
Aug. 27, 2025
New Data Theft Campaign Targets Salesforce via Salesloft App
Aug. 27, 2025
CIISec: Most Security Professionals Want Stricter Regulations
Aug. 26, 2025
Ubisoft CEO Yves Guillemot summoned to appear before French court
Aug. 27, 2025
Chinese Developer Jailed for Deploying Malicious Code at US Company
Aug. 25, 2025
Tech Manufacturer Data I/O Hit by Ransomware
Aug. 26, 2025
Fake macOS Help Sites Seek to Spread Infostealer in Targeted Campaign
Aug. 25, 2025
Crystal Dynamics lays off "a number of talented colleagues"
Aug. 27, 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