TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Resolved Questions
→
Atlas memory [closed]
Pages:
1
Atlas memory [closed]
Kazetoon
Posts: 556
December 22, 2014, 10:56:39 pm
I am not sure how atlas memory works. I have an atlas that stores only 1 image which is a background of size 1920x1280 at 4x. The thing that I don't understand is that the image in the ressource folder has a size of 435kb but the atlas uses 2.3mb. Why is that?
« Last Edit: December 23, 2014, 03:56:26 am by Kazetoon »
Little Drop - Try it out!
iphone/ipad
•
Android
Newgrounds
•
Stencyl Arcade
•
Kongregate
Developer Website
Justin
Posts: 4716
December 23, 2014, 01:37:08 am
Because atlases are about managing game resources in device memory, it's the memory that's important when reporting numbers, not the space required for storage. When an image is loaded to be displayed on your device, it's uncompressed, so it costs a lot more in device memory than it does in storage.
The numbers should be reported as 4 bytes (for rgba) * image width * image height.
For Live Support
: Join our
discord
server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)
Kazetoon
Posts: 556
December 23, 2014, 03:55:47 am
Oh, right thanks.
Little Drop - Try it out!
iphone/ipad
•
Android
Newgrounds
•
Stencyl Arcade
•
Kongregate
Developer Website
Pages:
1