Unity Falling Sand Game Template Pixel Simulation v1.1.6 | Falling Sand Game Template - Pixel Simulation
Overview
Unity 6 ready, and works with 2021 and 2022 too.
Each pixel can be simulated and has individual properties. Predefined materials include Lava, Oil, Sand, Water, Rock, Wood, Acid, and more.
Smooth sub-pixel camera movement: your camera moves smoothly even when the movement is on a sub-pixel level.
DOTS multithreading makes the simulation super fast.
Easy image based level generation: draw your levels into a PNG and configure them with ScriptableObjects in the Editor.
The pixel world is rendered onto a simple quad in your scene, so you can easily mix it with your scene objects and apply any post-processing.
Pixel based collider generation lets your character walk on the sand with ease.
A demo level is included (Kamgam/SandGame/Addressables/Level1).
Full source code is included.
Supports Unity 2021.3+, 2022, 2023, Unity 6, and LTS versions. Earlier versions may work too, but those are not tested anymore.
Works on any platform, including mobile and WebGL; frame rate depends on the device, around 30 fps on 5 year old devices and 60 fps on current mid-level phones.
Works with any render pipeline: Built-In, URP and HDRP.
Key features
DOTS for speed: multi-threaded by default, making things super fast.
Smooth Sub-Pixel Camera Movement: no jumpy camera; your camera moves smoothly even if the movement is on a sub-pixel level.
Easy image based level generation: draw your levels into a PNG and then configure them with ScriptableObjects in the Editor.
Mix pixel and no-pixel content: the pixel world is rendered onto a simple quad in your scene, so you can easily mix it with your scene objects and apply any post-processing.
Pixel based collider generation: the pixel world generates colliders so your character can walk on the sand.
Demo level included, at Kamgam/SandGame/Addressables/Level1.
Full Source Code is included.
AI-free: this asset contains no AI-generated content.
Default simulation resolution is 320x180 and can be changed; how high you can go depends on your target hardware.
Included content
Demo level (Kamgam/SandGame/Addressables/Level1).
Manual, including an intro section and FAQs.
Compatibility
Supports Unity 2021.3+, 2022, 2023, Unity 6, and LTS versions; earlier versions may work, but they are not tested anymore.
Render pipelines: Built-In, URP and HDRP are all supported. Compatibility matrix: 2021.3.35f1, Built-in, URP and HDRP are all supported.
Platforms: works on any platform, including mobile and WebGL; frame rate depends on the device, around 30 fps on 5 year old devices and 60 fps on current mid-level phones.
Requirements
Addressables (an official Unity package)
BURST (an official Unity package)
Collections (official Unity package for BURST)
Extending the template code requires familiarity with the Jobs system and the BURST compiler; programming for a multi-threaded environment is not beginner friendly.
Please read the intro section of the manual first before getting started.
Render pipeline compatibility
| Unity | Built-in | URP | HDRP |
|---|---|---|---|
| 2021.3.35f1 |
Technical specifications
- Original creator
- KAMGAM
- Current official version
- 1.1.7
- Supported engines
- 2021.3.35, 2021.3.35f1
- Render pipelines
- 2021.3.35f1 · Built-in / HDRP / URP
- Official file size
- 5.31 MB
- Official update date
- 2026-02-11
- Asset file count
- 29
- Package format
- unitypackage
- First official release
- 2024-01-01
Tags
Full description
A falling sand simulation template. It allows you to simulate thousands of pixels at once by using DOTS. Unity 6 ready Works with 2021 and 2022 too.
Pixel Simulation Each pixel can be simulated and has individual properties. There are predefined materials like Lava, Oil, Sand, Water, Rock, Wood, Acid, ... .
Smooth Sub-Pixel Camera Movement No jumpy camera. Your camera will move smoothly even if the movement is on a sub-pixel level.
DOTS for speed Being multi-threaded by default makes things super fast. The only downside is that if you want to extend it you will have to be familiar with the Jobs system and BURST.
Easy image based level generation Draw your levels into a png and then configure them with scriptable objects in the Editor.
Mix pixel and no-pixel content The pixel world is rendered onto a simple quad in your scene so you can easily mix it with your scene objects and apply any post-processing.
Pixel based collider generation Have your character walk on the sand with ease.
Demo level included Check out Kamgam/SandGame/Addressables/Level1.
Full Source Code The asset is published with full source code.
Supports Unity 2021.3+, 2022, 2023, Unity 6, ... LTS It may work with earlier versions too but those are not tested anymore.
Works on any platform Yes, it works on mobile and WebGL too though you will need a relatively modern phone (runs with 30 fps on 5 year old devices, 60 fps on current mid-level phones).
Works with any render pipeline Built-In, URP and HDRP
A word on AI This asset is AI-FREE (no disclosure on Steam needed). It predates all LLMs.
Things you should know (Read this before you buy) There is an intro section in the manual. Please read it first. Actually, it's probably best to read the whole manual first. You will have a much easier time adapting the template if you do. Please notice that this is NOT a fully featured game like Noita. It's a template (basis) for you to build your game upon. There is still lots of stuff you will have to implement yourself (rigidbodies, particles, lighting, world streaming, savegame). Required Packages (all freely available): Please install these before importing the package. * Addressables (an official Unity package) * BURST (an official Unity package) * Collections (official Unity package for BURST) The code in the template uses JOBS and the BURST compiler. If you want to extend the code then you will have to be familiar with these concepts. Programming for a multi-threaded environment is NOT beginner friendly. If you do not yet have a firm understanding of Jobs and BURST then the code will be very hard for you to extend. The Jobs system does much of the hard work, and the template is designed to be as easy as possible to extend. However, if you are a beginner you will most likely struggle. That does not mean you can't use it. It only means you will have a hard time adding complex features as these will most likely require some custom coding in the multi-threaded environment. Physics (2D Rigidbodies) are NOT included but 2D Colliders are. The pixel world does generate colliders but not rigidbodies and no forces are calculated or applied to rigidbodies (except for the generated static colliders). If the asset gets popular and demand is high enough then rigidbody + 2D force support might be added. The default simulation resolution is 320x180. You can change the resolution. How high you can go depends on your target hardware. However, be cautious with increasing the resolution. You may find it hard to design levels if you have to place millions of pixels. The pixel simulation resolution does not constrain your overall game resolution. All your UI, effects, animations etc. will still run at the default resolution.
Usage 1) Please go read the manual first. This is a complex system and you will struggle if you do not understand the setup. 2) Open the Demo level under Kamgam/SandGame/Addressables/Level1 3) Hit Play 4) Enjoy
HINT 1: Think hard about what resolution your pixel world should have. Hint: Games like NOITA have about 300 x 150 pixels and they do a lot with these. HINT 2: Not everything should be done in the pixel world. You can still use the Unity scene objects. Just because your graphics have a pixel aesthetic does not mean they all have to be simulated in the pixel world. HINT 3: Go wild!
Ratings and reviews
You can rate and review this item after purchase.
No buyer reviews yet.