sendengine({
fullscreen:true,//goes to full screen
center:true,//puts the application in the center of the screen
exit:true,//exit to game
appresize: {//changing the resolution
x:1900,
y:1000
},
changestatusbar:"#onlyhexcode",//changes the color of the top of the application
sendalertbox:"hello world",//warns at the bottom
changescreenstatus:1,//change the direction of the phone [1,2,3]
sendvibrate:1000,//You send a vibration to the phone. Enter time in milliseconds
startpath:"/"//which html file to open index.html example
})
changescreenstatus: 1
changescreenstatus: 2
changescreenstatus: 3
Automatic settings. If the phone is standing sideways, it becomes horizontal, if it is standing upright, it becomes vertical.
Forces the phone to stand in an Portrait
Forces the phone to stand in a Landscape
Don't forget to center the app after changing the resolution
async function run(){
var connect = await WaitDatabase();//auto try
//For example, for 20 seconds: WaitDatabase(20)
if(connect) console.log("Database connected")
else console.log("WHERE IS THE DATABASE BRO ????")
}
//OR
console.log(Engine_database.Engine_connected)//true or false
📤
sendalertbox example
changestatusbar: changes the color of the selected part