A fast-paced, WebGL-ready Unity game optimized for mobile and playable ad platforms.
Crash Dash is a lightweight, mobile-friendly Unity WebGL game designed as a playable ad. This experimental project focuses on performance optimization, aiming to run smoothly on low-spec devices with a total build size of under 5 MB.
- Implements Object Pooling and the Observer pattern for performance and modularity.
- Uses a custom HLSL shader for scrolling road effect.
- Optimized WebGL build with unlit materials and minimal runtime allocations.
- Unity (Base Pipeline)
- WebGL Build
- Custom HLSL Shader to simulate road scrolling
- C# for all gameplay logic
- Open-source packages (materials, effects)
To build locally:
- Clone the repo
- Open in Unity (version 2022.3.5f1 or higher)
- Select WebGL as platform and build
Feel free to open an issue, fork the project, or contact me with feedback or suggestions.