stderr Posted March 4, 2017 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 09/04/14 Last Seen: April 5, 2017 Share Posted March 4, 2017 Hi. I did some search on Google and here but I wasn't able to find the structure of a .spr file. I am looking for something like: header: w bytes ...: ... bytes image count: x bytes ...: ... bytes image n dimensions: y bytes image n pixels: z bytes .... Does anyone know where I can find this information? Quote Link to comment Share on other sites More sharing options...
0 Tokei Posted March 4, 2017 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 722 Joined: 11/12/12 Last Seen: 16 hours ago Share Posted March 4, 2017 You can check roBrowser's sprite loading; it's very clear and on point: https://github.com/vthibault/roBrowser/blob/master/src/Loaders/Sprite.js 1 Quote Link to comment Share on other sites More sharing options...
0 stderr Posted March 4, 2017 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 0 Joined: 09/04/14 Last Seen: April 5, 2017 Author Share Posted March 4, 2017 1 hour ago, Tokei said: You can check roBrowser's sprite loading; it's very clear and on point: https://github.com/vthibault/roBrowser/blob/master/src/Loaders/Sprite.js indeed it seems very clear, thanks for the quick answer. I'll take a look into it. Quote Link to comment Share on other sites More sharing options...
Question
stderr
Hi.
I did some search on Google and here but I wasn't able to find the structure of a .spr file. I am looking for something like:
header: w bytes ...: ... bytes image count: x bytes ...: ... bytes image n dimensions: y bytes image n pixels: z bytes ....
Does anyone know where I can find this information?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.