GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Replicate doesn't work fine

giogalmagiogalma Posts: 3Member
edited November -1 in Tech Support
Hi at all,
when I with a background of moving mountains and applies the function replicated, this will only duplicate one and disappears after all. What can I do?

Comments

  • giogalmagiogalma Posts: 3Member
    Hi,
    for example, in gamesalad play Basic Shoot Em Up.
    There is an image of hills which moving in background. There is an only image.
    I want replicate the hills for many times.
    When i'm using the function replicate with a moving background, the image of hills disappears after 2 replicate....but i replicate the image 10 times.
    If you trying, you can see the bug.

    Thanks a lot
    Giovanni
  • CodeMonkeyCodeMonkey Posts: 1,803Head Chef, Member, PRO
    The Replicate behavior just makes visual copies of the actor with the allowance for the separation between those images. If the actor that contains that behavior is destroyed (via behavior, or going too far off the non-wrapping scene) the visual copies are also destroyed.

    In the Basic Shoot em Up the land actor moves off the screen and is destroyed.
  • giogalmagiogalma Posts: 3Member
    Hi, where is this attribute? I could not rereplicate the mountains. Thanks!
  • POLYGAMePOLYGAMe Posts: 3,470Member
    Um, CodeMonkey explained it perfectly well up there... read the yellow post. Replicate won't work once the original actor has gone too far off the screen.
This discussion has been closed.