1 decade ago by Elliott
I have an enity which I'm trying to set the image size of the size set in Weltmeister I have tried the following :
animSheet: new ig.AnimationSheet('media/lava.png', x, y)
But this doesn't work as x/y isn't yet declared, I can view the x,y values in the init function as these are passed along :
init: function(x, y, settings)
Is it possible to set the animation size to the size set in Weltmeister?
I'm sure its pretty simple but I'm a n00b to this, thanks =D
animSheet: new ig.AnimationSheet('media/lava.png', x, y)
But this doesn't work as x/y isn't yet declared, I can view the x,y values in the init function as these are passed along :
init: function(x, y, settings)
Is it possible to set the animation size to the size set in Weltmeister?
I'm sure its pretty simple but I'm a n00b to this, thanks =D