What is an ideal file size?

0 favourites
  • 2 posts
From the Asset Store
10 Retro songs ideal for platformers or farming games
  • Hi,

    I've looked around and can see lots of posts about how to keep the file size small, but I can't find anything on what is an 'good' size?

    So far my first level is 26mb, the following levels will use a lot of the same graphics as the first, but I think the finished game will be around 50mb.

    Any idea what a good size should be?

    Many thanks

    Mark

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Generally, there isn't any "perfect size", since the size varies hugely from project to project.

    It depends on the amount of images you use, how well you use them etc.

    Some pieces of advice to keep your program's size small:

    • Whenever possible, use Tiled Backgrounds instead of big sprites
    • Whenever possible, use functions instead of repeating the same code multiple times (no huge impact on file size, but gets more important when your project get bigger)
    • Use Tilemaps when possible instead of multiple Sprites
    • Try to use many instances of one Sprite instead of using multiple different sprites
    • If your game works online, you can load images via AJAX from a server to keep the program size low

    There is much, much more to it than just that.

    Take a look at this tutorial:

    Export time optimization

    and at this post.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)