In this chapter, I have introduced you to SDL and its library of modules that are available for use within WebAssembly. We have learned about the WebAssembly virtual filesystem, and how Emscripten creates the .data files for access within the WebAssembly virtual filesystem. I have taught you how to use SDL to render images and fonts to the HTML canvas. Finally, we have learned how to use SDL to create a simple animation in our game.
In the next chapter, we will learn how to use keyboard input to move game objects on the canvas.