Anchored Tiled Background ?

0 favourites
  • 5 posts
From the Asset Store
Each tile 64 by 64 pixels - Ultimate Tile Set for your awesome games
  • I have a anchored titled background that doesn't keep up with a object with scrollto behavior. Is there another way to do this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What are you trying to do exactly ?

    The anchor object makes sure that whatever the size of the project is, the object with the behaviour will be specifically positioned (ex: top left corner).

    The tiled background plugin repeats the setted texture on all its size.

    And finally the scroll to behaviour makes it so that in a bigger layout than the window's size, the object with the behaviour will always appear in the centre of the window (the "view" will adapt/move to the object's position).

    I'm not sure what you mean/expect when you say "I have a anchored titled background that doesn't keep up with a object with scrollto behavior"

  • Kyatric

    Well I replaced it with a sprite which is the green header(anchored) in the picture. The black box(scroll to) is a object that moves around bouncing off any solid object. When the black box moves up or down the header can be displaced by as much as 5-10 pixels until the black box stops moving, then it is correct.

    <img src="http://www.fishertextiles.com/ex2.jpg" border="0" />

  • You probably rather want your green box to be in a different layer than the blue/black boxes and set the parallax property to this layer to "0,0", like instructed for the HUD in the page 7 of the beginner's guide for C2.

  • Thank you. That fixed it. I really didn't know what a HUD was/is.

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