Summary
We’ve accomplished so much in this chapter! We began by examining the starter document, which already had several assets in place on the stage and within the project library, all derived from the Assets panel. Then, we went through each screen and library item to organize our timeline with frame labels and to provide instance names and Linkage IDs where needed. The bulk of our time in this chapter was spent in the Actions panel, writing all the JavaScript code that controls the player character, enemy and projectiles, internal variables and references, and how all of these elements interact with one another to produce a full game experience for the web. Closing out, we looked at Publish Settings and adjusted some of the attributes for our published game content.
In the next chapter, we’ll explore a somewhat related web-based project in the form of virtual reality experiences using WebGL glTF document types.