Different ways of launching jsGameSoup.
- A <canvas> element with an attribute of "jsgs='launchFunctionName'". (black)
- Dynamically create your own canvas object and pass that. (green)
- Passing a <canvas> element by ID to jsGameSoup instance. (blue)
- Passing another element (e.g. <div>) by ID to a jsGameSoup instance. (red)
View the source to see how!