10

Developing Web-Based Games

In the previous chapter, we explored approaches to creative coding with JavaScript, CreateJS, and an HTML5 Canvas document completely void of any visual assets.

We’ll begin this chapter by providing an overview of our game concept and an HTML5 Canvas starter document, which already has several assets laid out concerning the techniques we learned about in previous chapters. We will then 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 ...

Get Mastering Adobe Animate 2023 - 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.