Thoughts on dynamic spritesheets

Not having dynamic spritesheet support is really annoying and Im sure there is a good technical reason for it to be lacking but until it gets added I was thinking of a possible workaround.

I could add in the ability to load up a resolution dependent tileset image however the only way I know to get the actual resolution is to not have any content resolution set in config.lua. Does any one know a better way or have any other ideas for temporary workarounds?

Also, I just posted about this in the subscribers forum for show stopping bugs - http://developer.anscamobile.com/forum/2011/02/04/dynamic-spritesheet-resolution [import]uid: 5833 topic_id: 6040 reply_id: 306040[/import]

In 2.8 there will now be support for Retina sprite sheets thanks to IgnacioIturra - http://developer.anscamobile.com/forum/2010/12/08/dynamic-retina-spritesheets-heres-how

I have currently tested it using a scaled up version of a current tileset as I don’t actually have any Retina graphics (or an iPhone 4 for that matter) so when I release the version if anyone has any HD graphics please report back.

To use it all you have to do is prefix your tileset images with “@hd-”, if people would prefer a different prefix I am open to ideas and tempted to make it a user settable value. [import]uid: 5833 topic_id: 6040 reply_id: 21037[/import]

I posted a temporary solution for this bug here:

http://developer.anscamobile.com/forum/2010/12/08/dynamic-retina-spritesheets-heres-how#comment-33087 [import]uid: 46260 topic_id: 6040 reply_id: 33090[/import]

Hey that looks great, thank you for creating it and sharing. I will have a proper look through it but by the sounds of it it should work much better then what is currently in Lime as it will work with all the custom suffixes that people set rather than just allowing for iPhone 4 versions like I currently do. Thank you! [import]uid: 5833 topic_id: 6040 reply_id: 33122[/import]