Scrolling background. Creating a clone of multiple background objects.

0 favourites
  • 2 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Hi, this is my first post on this forum, I just picked up construct for the first time a few months ago so I am fairly new to this and this is my first game.

    I currently use 1 event sheet for all my levels on this game I'm creating. I have multiple layouts which have each have multiple background objects which are all stored in a family called backgrounds.

    I have been making each of my layouts with a scrolling background that moves from right to left. Each background object is 2560 wide and when each object reaches -2560 it moves to self.x + 2560.

    This works well but each time I make a new layout I need to add instances of each object and move them into the correct position. I was hoping that on the start of the layout I could create each object in the family on the same layer as the original and place it the objects same x axis + 2560 and same y axis.

    Any help would be much appreciated.

    Thanks, Ross

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Could you create a layout that only has the things you want on all layouts and then just duplicate it for each new level?

    You could also use Global layers to build a single layer that will contain all your background items. Global layers are layers that are created in one layout then, override every other layouts layer with the same name as the global layer. I made a popover menu system to show this functionality for a previous forum question. Take a look:

    drive.google.com/file/d/1g1gKkHFQ444PQq1kot-ugyW06cwNsG5l/view

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