In this chapter, we learned how to create a basic particle emitter configuration tool. We covered how to force Emscripten to create a virtual file system when there are no files loaded into it at application startup. We learned how we could load an image from our user's computer into the browser's virtual file system, and added functionality to allow us to upload a .png image file. We covered some basics of SVG, discussed the differences between vector and raster graphics, and learned how we would use SVG to draw pie charts for our configuration tool. We covered some basic trigonometry that was useful in this chapter, and will only become more useful in later chapters. We created a new HTML shell file that interacts with our WebAssembly, to help us configure a new particle system for our game. We created a Point, Particle, and Emitter class in a WebAssembly module...




















































