Chapter 22: Particle Systems and Handling Screen Touches

We already have the real-time system that we implemented in the previous chapter 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 a mind of their own; they will 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
  • The Android Studio Profiler tool

We will start ...

Get Android Programming for Beginners - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.