Sprite Vs Tiled Background

0 favourites
  • 6 posts
From the Asset Store
Full game Construct 2 and Construct 3 to post on Google Play
  • Which would be more speed efficient, a 32x32 image as a sprite, or a 32x32 image as a tiled background [which wouldn't be tiled, just used as a single 32x32 image]. The image won't do anything, it's just for background.

    The reason I ask is that I would potentially be using a LOT of these to build a landscape and want the least slow down. Here's an example of what I'm on about, I'll be building the gray tiles individually.

    <img src="http://img835.imageshack.us/img835/7046/screenshotarcade.gif" border="0" />

  • If there is any place where two identical tiles is placed next to each other, then you can benefit from making them tiled background.

    A 32x32 tiled background and a 32x32 sprite is equally efficient. But a tiled background that is made of 32x32 and is 512x512 or 32x512 is just as efficient as the 32x32 sprite or tiled background.

    In other words - if there is no use for a sprite, always use tiled background. But remember that a sprite can do many other things a tiled background cannot.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In the case of the screenshot provided I would use the most commonly used block (standard gray square) as the tiled background and then build on top of it using 32x32's where needed.

  • Thanks. :)

  • I had this Question too, Thanks for asking ... and answering

  • Don't forget you can still move a tiled background around by using code, too. I used MMF2 before C2, and it couldn't do that, I'm glad C2 can.

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