Asset Loading Snippet Last Updated: August 19, 2019 15:59
Asset Loading makes it easier for you to locate the sprites of your projects.
Recommended Location for your Images img image_name1.jpg image_name1.png js engine(ver).js yourJSFile.js index.html
Asset Loading Code: There are no proper system on loading your assets using this engine but this code is HIGHLY RECOMMENDED! 1 const Assets = {
2 imageName: new JSprite(/* Your Image Path Here*/),
3 imageName1: new JSprite(/* Your Image Path Here*/),
4 imageName2: new JSprite(/* Your Image Path Here*/)
5 };

Accessing your sprite Now that you have made your Asset Loading object, it's time to know how to access those. 1 Assets.imageName
2 // This will return an Image() Object
To know more about JSprites go here