Chapter 22. Particle Systems and Handling Screen Touches
We already have our real-time system that we implemented in the previous chapter by using a thread. In this chapter, we will create the entities that will exist and evolve in this real-time system as if they have minds of their own and form the appearance of the drawings that the user can achieve.
We will also see how the user implements these entities by learning how to respond to interaction with the screen. This is different to interacting with a widget in a UI layout.
Here is what is coming up in this chapter:
- Adding custom buttons to the screen
- Coding the
Particle
class - Coding the
ParticleSystem
class - Handling screen touches
We will start by adding a custom UI to our app.