Creating our first DOTS game
There is plenty to learn in order to create performant games with DOTS, so let’s start by creating a simple project featuring cubes moving forward. Emphasis on cubes – we are going to have thousands of them! I know it is not the most exciting project, but bear with me, as in the Creating Gameplay in the DOTS section in this chapter, we will convert it into an actual (but simple) game.
In this section, we will examine the following DOTS concepts:
- Creating a DOTS project
- Creating entities with subscenes
- Creating components and bakers
- Creating systems using Jobs and Burst
- Debugging systems jobs and queries
Let’s start by discussing how to set up a project to be compatible with DOTS.
Creating a DOTS project
The first step for creating a DOTS project is the one you should already know by this point in the book: creating a brand-new URP project. If you are not sure how to do it, please...