Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Image bigger than 1024x1024

Author
Message
east
12
Years of Service
User Offline
Joined: 4th Apr 2013
Location:
Posted: 27th Nov 2013 02:47
I know for the best compatibility it's advised not to have an image bigger than 1024x1024. But since we already have the SetIntendedDeviceSize function, will AppGameKit automatically scale my image if it's bigger than 1024x1024? Or will AppGameKit automatically scale the image even without this function? Thanks.
Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 29th Nov 2013 16:42
It is possible, however this only seems to be an issue with iOS. I've used 2048x2048 on Android without any issues. On iOS the image was scaled, but the accompanying animation settings from SetSpriteAnimation were all messed up. Best just to scale it down yourself.

Marl
13
Years of Service
User Offline
Joined: 19th Nov 2011
Location: Bradford, UK
Posted: 1st Dec 2013 22:25
Rather than "Can you have images bigger than 1024?" the question you should ask is "Should you have...".

Leaving aside the IOS can do this / Android can do that debate, consider your objectives. What is your target audience?

A windows app for personal use on your own PC, is no problem. If however, you want to distribute over multiple formats to work on as many devices as possible, then you should keep things small.

A 2048x2048 pic will need about 12.5 Meg continuous memory to load, whereas four 1024x1024 pics will need just over 3 Meg each to convey the same data.

The total is about the same, but with the smaller pics, the memory used is in 4 smaller blocks rather than one large one.

When it comes to memory management, smaller blocks are easier to manage and on lower end devices this makes all the difference.
east
12
Years of Service
User Offline
Joined: 4th Apr 2013
Location:
Posted: 1st Dec 2013 23:11
It's for atlas image actually. I'm divided between using one 2048x2048 image or several 1024x1024 image and concerned with device that doesn't support more than 1024x1024. It would be great if SetIntendedDeviceSize will scale the image to 1024x1024 when the device doesn't support texture size bigger than that. But looking at your explanation, i think I'll go with several 1024x1024.

Login to post a reply

Server time is: 2025-05-23 17:21:09
Your offset time is: 2025-05-23 17:21:09