2D voxel/falling-sand engine for Unity with destructible terrain, fluids, fire, reactions, lighting, save/load, editor tools, and playable demos.MatterForge gives you a complete foundation for building 2D voxel-based worlds inside Unity.Create destructible terrain, simulate sand, water, lava, oil, acid, smoke, steam, fire, heat, reactions, lighting, and rigidbody interactions — all using a chunked cell-grid system designed for real gameplay experiments.The package includes both runtime systems and editor tooling. You can generate infinite procedural worlds, create bounded puzzle rooms, paint authored levels in the editor, import runtime saves as level assets, place voxel structures, and extend the simulation with custom materials, reactions, generation passes, and simulation passes.MatterForge is suitable for:2D sandbox gamesFalling-sand / powder-toy gamesDestructible terrain gamesPuzzle and arcade roomsPhysics playgroundsNoita-inspired prototypesProcedural cave / terrain experimentsEducational simulation projectsThe package ships with demo scenes, one-click setup menus, a reaction lab, debug overlays, level authoring tools, sample player/controller code, save/load examples, and showcase scenes for rendering, reactions, procedural generation, PixelBodies, and persistence.MatterForge is not a 3D voxel engine and does not include built-in networking. It is designed as a customizable 2D voxel toolkit for Unity projects.documentationIf you have any questions or issues, you can contact me via mooumari2@gmail.comKey features:2D voxel / falling-sand simulation engineChunked 64×64 cell world systemStreamed infinite procedural worldsBounded room mode for puzzle / arcade gamesBurst + Jobs powered simulation passesPowders, liquids, gases, fire, heat, and reactionsBuilt-in materials: stone, dirt, sand, gravel, wood, water, lava, oil, acid, fire, smoke, steam, ores, decorations, and moreScriptable material system with custom phases, colors, temperatures, density, durability, flammability, lighting, and transitionsBinary reaction system for chemistry-style interactionsProcedural generation with biomes, caves, ore veins, lava pockets, water pools, crystals, decorations, and structuresCustom world generation pass supportCustom simulation pass supportSmooth liquid, gas, and fire rendering modesDynamic per-cell lighting with skylight and emissive materialsChunk-based BoxCollider2D terrain collidersPixelBody rigidbody bridge with buoyancy, drag, lava/fire/acid contact eventsRuntime save/load using compressed binary filesLevelAsset support for authored levelsEdit-mode LevelEditor with painting, erasing, rectangle fill, undo, material palette, selection, and structure exportOne-click scene creation menusReaction Lab demo sceneFeature showroom demosDebug chunk overlay for dirty rects, sleeping chunks, lighting state, and runtime inspectionDemo player controller, HUD, particles, audio, day/night cycle, and sandbox toolsAPI surface for gameplay code, tools, and advanced extensionRequirements:Unity 2022 or laterUnity 6 supportedBuilt-in Render Pipeline or URPURP recommended for bloom/emissive visual polishBurst / Collections / Mathematics packagesLimitations:2D onlyNo built-in multiplayer/networkingCPU simulation, not GPU simulationMaximum 256 simultaneously registered materialsFixed 64×64 chunk size



