Hi guy what is more performance ?
Is those can be have a very good performance difference ?
Call X1000 time example This.
// Example with use Array for ref the showPicture animation
function ShowBigAvatar() {
$gameScreen.showPicture(BigAvatar[1][0], BigAvatar[1][1] + BigAvatar[1][2], 1, BigAvatar[1][3], BigAvatar[1][4], 100, 100, 255, 0);
}
Or this
// Eample use the info with Prototype from the objet.
function ShowBigAvatar() {
$gameScreen.showPicture(BigAvatar[1].ID, BigAvatar[1].Prname + BigAvatar[1].ActionName, 1, BigAvatar[1].X, BigAvatar[1].Y, 100, 100, 255, 0);
}
Is for create animation with the
Code:
setInterval(function() { }, 60); //60ms