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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images loaded after the application is launched #56

Open
LorretOne opened this issue Dec 25, 2023 · 2 comments
Open

Images loaded after the application is launched #56

LorretOne opened this issue Dec 25, 2023 · 2 comments
Labels
Documentation Required Required documentation about some topic in issue question Further information is requested

Comments

@LorretOne
Copy link

Hey 馃憢

I'm bold enough to try using your wonderful solution in one of the commercial projects 馃槀

I have a test project running. But can you tell me, is there any manual or example on how exactly to use your library with images loaded after the application is launched?

@maxgribov
Copy link
Owner

maxgribov commented Dec 25, 2023

You can use init(_ model: SpineModel, _ atlases: [String : SKTextureAtlas]) of Skeleton for it. All you need - is to prepare dictionary of the atlases that contains textures for each slot of your character. Images for those textures you can download from the server for example at the runtime.

More detailed instructions I don't have right now.

public convenience init(_ model: SpineModel, _ atlases: [String : SKTextureAtlas]) {

@maxgribov maxgribov added the question Further information is requested label Dec 25, 2023
@maxgribov
Copy link
Owner

look at this document by the way. There is some more information about this topic:
https://github.com/maxgribov/Spine/blob/master/Sources/Spine/Documentation.docc/Skins.md

I'll try to find some time to write more detailed instructions about how to apply loaded from server assets.

@maxgribov maxgribov added the Documentation Required Required documentation about some topic in issue label Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Required Required documentation about some topic in issue question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants