Default atlasParent now is null (this wasnt fully necessary, but sometimes a blank string in a boolean test make bugs), to then test if it was specified. If not specified, it just call the sprite without the atlasParent.
The sprite now uses the frame option to call the respective spritesheet frame(with a normal index/number).
Readme.md updated on updateModalValue function, the order was wrong i guess, and i for example need to create an issue to understood it.
In my tests everything went fine without any bugs.
note: this is my first pull in github, i hope you did it the right way.
Default atlasParent now is null (this wasnt fully necessary, but sometimes a blank string in a boolean test make bugs), to then test if it was specified. If not specified, it just call the sprite without the atlasParent.
The sprite now uses the frame option to call the respective spritesheet frame(with a normal index/number).
Readme.md updated on updateModalValue function, the order was wrong i guess, and i for example need to create an issue to understood it.
In my tests everything went fine without any bugs.
note: this is my first pull in github, i hope you did it the right way.