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

Loading tileset from atlas #3415

Closed
HaoboZ opened this issue Mar 18, 2018 · 1 comment
Closed

Loading tileset from atlas #3415

HaoboZ opened this issue Mar 18, 2018 · 1 comment

Comments

@HaoboZ
Copy link

HaoboZ commented Mar 18, 2018

This Issue is about

  • A problem with my own code

I'm not too sure how to load a tileset image from an atlas. If you load an atlas, it generates a key for the whole atlas, and all the separate parts are frames. However, the API for Tilemap.addTilesetImage does not include a frame option, which makes it so it can't load from there. Is there an easy way to use it, or otherwise it will just be separately loaded?

@HaoboZ HaoboZ closed this as completed Mar 18, 2018
@jestarray
Copy link
Contributor

What was your solution bro?

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