Currently, I am trying to proceed with the application development using spritekit with swift language.
So, regarding the image, we have to change the size of the image we use depending on the device, and if we prepare three images, @1x, @2x and @3x, they will choose the size of the image that corresponds to the device. How do you prepare three images?
By the way, I use a drawing tool called Fire Alpaca when I make images.
When I make an image, I'm thinking of making it bigger and using it for @3x, reducing it to fit @2x and @1x.
Is there any problem?
Normally, I think there is no problem by preparing a larger image and reducing it to create @1x, @2x, @3x.
The size of each image is basically @1x, which is twice the size of @2x and three times the size of @3x.In my case, I prepared the original image about the size of 1024x1024 and reduced it to each size.
Example: Using a 40x40 size image at @1x
If you're using a so-called dot picture, it might be a good idea to prepare the original picture in the size of @1x and simply enlarge it to generate @2x and @3x.
© 2022 OneMinuteCode. All rights reserved.