Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Texture Atlas support #23

Closed
kwrooijen opened this issue Jul 22, 2017 · 2 comments
Closed

Texture Atlas support #23

kwrooijen opened this issue Jul 22, 2017 · 2 comments

Comments

@kwrooijen
Copy link

Hey, thanks for your work on this library.

I was wondering if you're planning on adding Texture Atlas support? From what I can tell there doesn't seem to be an option to use an Atlas.

@Tatwi
Copy link

Tatwi commented Aug 18, 2018

Atlas support is in the version of SlickUI that I use (latest version). Here is how I do it,

var coinIcon;
this.cubWindow.add(new SlickUI.Element.DisplayObject(123, this.iconLine + 47, coinIcon = this.game.make.sprite(0, 0, 'atlas')));
coinIcon.frameName = 'ui-coin';

@kwrooijen
Copy link
Author

All right, thanks! I'll close this ticket then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants