Recorded at Android Summit 2020 https://androidsummit.org
Although Jetpack Compose is a toolkit to create Android UI in a declarative form with the power of Kotlin language. But it can be used as a canvas for generative art, animations, or even games.
In this session, we'll take a look at the capabilities of Canvas API for Jetpack Compose and how can we implement Chrome's T-Rex Dino game. We'll discuss some challenges such as game loop, game state management, infinite parallax scrolling etc.
By the end of this talk, you'll be more familiar with the concepts of Canvas in Jetpack Compose and how you can use it for games.