Chapter 10: Developing Web-Based Games
In the previous chapter, we took a deep dive into the Camera, Layer Depth, and a number of additional features available as part of the Advanced Layers mode in Animate.
We begin this chapter with an overview of our game concept and the HTML5 Canvas starter document, which already has a number of assets laid out in accordance with the techniques learned in previous chapters. We will then move on to prepare various assets on the stage and assets within the project library for interactivity. We'll also create all-new dynamic text assets for our gameplay screen that can display game data through our use of JavaScript. The majority of this chapter will be spent in the code editor as we build out the logic for our entire game bit by bit across the timeline and through the use of global scripts.
After reading this chapter, you'll be able to perform the following functions in Animate:
- Create a game using both designer and developer...