• • • Anyone tested using jpgs instead of png's? (by updating project files)
Good Afternoon...
Has anyone had great success changing pngs for jpegs.
As Gamesalad only accepts pngs (or converts other image files to pngs when imported) I want to try reducing my loading times and file size by using jpegs instead. I've read ideas on it before, but never hear if it is successful or worth the effort.
The theory:
Chang their images from png's to jpegs by showing the contents of the project file and changing all the images for their jpeg equivalents and updating the xml file so it refers to .jpg files instead of .png files.
So before I test this myself...I just thought I'd ask has anyone tried the above, does it work or does it simply change them back to png's when you next open the project in GameSalad. If they remain jpegs and work do you see any increase/decrease in loading times?
Thanks
Jon
- - - - - - - - - - - - -
Visit www.stormystudio.com/templates01.html to grab 'Stormy's Time Machine'. Which is a free template to go into your games to accurately get load times between scenes.
Has anyone had great success changing pngs for jpegs.
As Gamesalad only accepts pngs (or converts other image files to pngs when imported) I want to try reducing my loading times and file size by using jpegs instead. I've read ideas on it before, but never hear if it is successful or worth the effort.
The theory:
Chang their images from png's to jpegs by showing the contents of the project file and changing all the images for their jpeg equivalents and updating the xml file so it refers to .jpg files instead of .png files.
So before I test this myself...I just thought I'd ask has anyone tried the above, does it work or does it simply change them back to png's when you next open the project in GameSalad. If they remain jpegs and work do you see any increase/decrease in loading times?
Thanks
Jon
- - - - - - - - - - - - -
Visit www.stormystudio.com/templates01.html to grab 'Stormy's Time Machine'. Which is a free template to go into your games to accurately get load times between scenes.
Comments
I just tried with a simple scene with one actor.
Changed the png on the Image folder with the jpg then I searched on the actor and scene xml and only found a reference to the image name without extension. Is there any other file I should edit?
EDIT: Just found it, it is everything on the assets xml file.
________________________________
【ツ】iPhone Icon Pack (compatible with DBA Icon Creator) 【ツ】 - 【ツ】Graphic Pack【ツ】
Free GS demo: High score simple and advanced; Game Center; App Rating System
(So hopefully sooner rather than later GS will add an update that allows us to import the resized images manually)
And thanks to TSB for his original post on the subject
Shaz
-------
"Honey Tribe is not only a remarkably endearing little game, but it's also incredibly addictive." Pocket Gamer
"...a touch above the rest in the endless running genre" 148apps.com
Say hi on Twitter
Like us on Facebook
Sound design and music service available: http://tiny.cc/MusicService
www.HoneyTribeStudios.com
Don't forget JPG files don't get optimised for runtime in the same way as PNGs do so it might be worth do performance comparisons depending on how many and in what fashion your images are being used.
http://gamesalad.com/forums/topic.php?id=24695&replies=4#post-187375
Be aware that when using jpg, there is a bug that means the image moves (or the camera moves) there will be a single pixel black line on the edge of the image. If you don't understand what i'm on about check out this post by firemaplegames
http://gamesalad.com/forums/topic.php?id=9378
It also contains the solution
hope that helps anyone out.
I had my scene which currently took 0.510 seconds to load (or there abouts). With a project size of 2 Mb. It is a scene with 6 large background images.
I changed the pngs for some fairly heavily compressed jpegs, and made the backward jump from retina to normal graphics. Loading times gone down to around 0.450 seconds. So not overly noticeable as it was already ok, but should see some bigger improvements as the rest of the game is added. The main difference is project size, down from 2mb to 240 kb.
Cheers again for all the tips and links and success stories...
Another member posted a link to png optimising software (sorry, can't credit cos can't remember who...)
http://imageoptim.pornel.net/
There's a really good optimisation roundup on one of FireMapleGame's post somewhere, giving other advice on sound files, etc. Can't find it at the moment, but it's around somewhere...
Anyway, hope that helps.
Bump:
@stormystudio
• • • Anyone tested using jpgs instead of png's? (by updating project files)
----------------------------------------------
http://davidgriffinapps.co.uk/
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps