Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Construct 2

You're reading from   Learning Construct 2 Design and create your own engaging, extensible, and addictive game using Construct 2

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781784397678
Length 234 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Aryadi Subagio Aryadi Subagio
Author Profile Icon Aryadi Subagio
Aryadi Subagio
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Using your memory wisely


Okay, I have covered the common and technical things you should know when you want to squeeze the best performance out of your games. However, there's another thing you must know when developing your games: memory. Mobile devices have limited memory resources, so always keep memory usage in mind when developing on mobile platforms.

Avoid using large image files

Maybe, you still remember that I said not to use too many sprites in your project, or if you need to use an image repeatedly, then it's better to use a Tiled background object instead, because Construct 2 counts it as one object. Another thing you must keep in mind is you shouldn't use image files that are extremely big or detailed in your game. If you're a designer and want to use an HD image for your level, just know that it won't work, especially on a mobile.

The reason is a bit technical, but let me try to explain. Images are made up of pixels, so an image of 1920 x 1080 pixels will consist of 2073600 pixels...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image