Dots Blockout
A downloadable game for Windows
Use A and D to move the paddle. Currently the game doesn't have music (waiting for DSPGraph), however try this sound while playing!
This is my very first complete game made using Unity Dots, or Data Oriented Tech Stack. This allows for the writing of safe multithreaded code that can be compiled with Burst to native computer code. In layman's terms: shit's crazy optimized.
The rendering of objects is done via the Hybrid Renderer V2, a DOTS renderer which supports Material Overrides. All objects use the same material with their color overwritten so they can all be gpu instanced and batched together. Not specific to Dots but again: optimized stuff.
All UI has been created using UI-Toolkit, which allows all UI to be drawn in a single draw call. It's just all optimized, okay?!
However, note that just because it is optimized, it doesn't mean it's fast. Currently, the jobs initializations for something so simple as Blockout may mean that it is actually more intensive to run this game than if it was made with OOP. I knew that, but made this project with DOTS anyway so I could practice my DOP skills.
Currently the BallSystem (the most intensive one) is not taking advantage of Dots because it needs to complete early so it can play sound. In the future I would like to play the sound using DSPGraph (Dots Audio). This is currently in development with little documentation on how to use it.
Naturally with all this potential for optimized games, I'd like to continue improving my skills with these technologies. I believe this project to mark an important step on that path.
View the code for this project here on github!
Status | Prototype |
Platforms | Windows |
Author | Casey Hofland |
Tags | Arcade |
Leave a comment
Log in with itch.io to leave a comment.