Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Image Loader Questions — Gideros Forum

Image Loader Questions

NinjadoodleNinjadoodle Member
edited June 2016 in General questions
Hi guys

I'm taking @hgy29 's advice and playing around with the image loader, to try and load an atlas for my game in each level (instead of the HTML5 loading the whole game into memory at the start).

- How can I use @2x and @4x images? Does the image loader automatically load the hires assets like the rest of the system?

- Im not completely sure whether this will work for loading atlases.

Thank you in advance!

Comments

  • hgy29hgy29 Maintainer
    I am afraid you will have to figure out yourself which image scale you need to load... or load all of them and let gideros decide. If you prefer the former, you can use application:getScreenDensity() to retrieve the user's screen DPI.
Sign In or Register to comment.