Cutting tiled background

  • Hello! Tiled backround object now cutting from right and bottom.

    I wondering can I create one tiled backround object and use texture wich consist form different sprites (tileset) and select cutting texture from top and left? Actualy it will different sprites but one tiled backround object.

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Look into masking. There's a masking example in C2 which should help.

  • Thank you for reply! Are you mean sprite1 covers sprite2? 2 times more sprites?

    I am looking for optimizing my game for mobile and try to use ONE tiled background object for all non-moving objects.

    Thank you!

  • Maybe it's impossible?

  • For example I have 6 tiles texture of earth.

    <img src="https://www.dropbox.com/s/3dgyweuvay8yrfi/12.png" border="0" />

    How can I use ONE tiled background object "earth" for all kinds of tiles: left grass, right grass and etc?

    Thank you!

  • why not just use a sprite and each image will be a different frame of animation in the sprite. Set animation speed to 0 and manually set the frame for whichever image you need to show just like they did in the platformer tutorial. Import the images as frames in an animation.

  • Thank you! I recently found that using tiled background is improve FPS on mobile. And I try to use tiled for all static objects. Even I fill all level with one tiled background object my FPS stay on place (~40), but if I using sprites for every platform I have FPS about 10.

    Thank you anyway!

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