βοΈApi
Eap is a module made for your convenience outside the game engine.
Require
You can define modules like this (js)
You can use both link and file
require("https://cdnjs.cloudflare.com/ajax/libs/axios/1.3.4/axios.min.js")
require("https://cdnjs.cloudflare.com/ajax/libs/hammer.js/2.0.8/hammer.min.js")
modulesloaded = function(x){
if(x == false){//first module downloads (not added later)
console.log("all modules are installed now I can use the modules")
//Example: starthammercanvas()
}else{//added later after the game runs
}
}
//You can think of it like the function loading screen of the game. Loading modules.Addstyle
You can define modules like this (css)
You can use both link and file
Addfont
You can define modules like this (ttf,woff2,woff,eot,otf)
You can use both link and file
getIp
If you are coding an online system, you may need it.
linkget
quickly retrieve data from the site
Monitor hz learning
Generate Random number and Generate Random array
Animator
πAnimateLast updated