Change Background TIle

0 favourites
  • 7 posts
From the Asset Store
slide the tiles to fill the board.60 awesome levels.
  • Hi guys,

    Is it possible to have a background tile span for a certain distance and then swap to a different background tile ?

    Im just wondering how to do such a thing for a platform game ?

    Thank you

    <img src="" border="0" />

  • Not to worry, I worked it out now.

    Thank you <img src="smileys/smiley41.gif" border="0" align="middle" />

  • Creepers Hey gratz!

    Can you post how you did it? :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey Peret,

    Im a beginner, so Im not sure that this is right, but all i did was drag out one tiled bg to repeat the amount of times i needed and then simply created a new tile within the same layer and lined it up next to it. I did a test within a browser and there didnt seem to be any seam issues at all ! I hope this helps :)

  • :) ok thanks

  • That's cool. I'm using a similar solution with my infinite "flier" game. I'm having a bit of an issue when changing from the second to the third background (its just vanishing for no obvious reason) but it seems to work. I put one bg on top of the other and use a custom timer and a set of events to "swap them".

    Ashley- if your'e around mon. A Swap object function or event would be awesome not just for backgrounds but for everything in a game.

  • I solved my own issue with the background not showing properly... it turns out i forgot to set the wrap to "view port" setting on the background that wasn't showing... now it works correctly

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