I’d like to know how to dynamically change images used in game. Is it possible in cocos creator? How do I get a resize event?
My idea is to have a group of images with dimensions (w, h) for resolution an default resolution and replace them for another group of images to other possible resolutions.
image = 20x20 for resolution 480x320
image = 40x40 for resolution 960x640
image = 80x80 for resolution 1920x1280