About BG looping problem... Advice for me!!

fox2fox2 Member Posts: 67
edited October 2013 in Working with GS (Mac)
I'm prepair BG looping.

Scenes size is 5000*768
Camera Origin X=1,024

For looping .. i made a 2 actors.
eatch of actor size is 1024*768
actor1 position.X is 1536
actor2 position.X is 2560

--------------------------------------
(constrain attribute)
self.motion.Linear Velocity.X to -200

(Rule)
Self.Postion.X < 512
(Change att)
self.Position..X to 2506
--------------------------------------

When actor2 is appear on the screen then it looks flicker!
It is hard to know the reason.
Does it bug?

link
https://www.dropbox.com/sh/tdn511s730xarsz/Ll2PeFEqqk

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    Hi @fox2 Without testing, it possibly could be because you're using a Constrain attribute on the self.motion.Linear Velocity.X in both cases, when you only need a Change Attribute behaviour.

    Hoping that helps...

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • fox2fox2 Member Posts: 67
    edited October 2013
    Yes.
    So i remove a constrain attribute and add move attribute.
    But still unnatural....
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited October 2013

    OK, I'll take a closer look at your gamefile to see if I can spot anything else that might be causing the problem... but just to say again, I suggested replacing the Constrain Attribute behaviours with Change Attribute behaviours (not move attribute as you wrote)....

    Edit: I see what you mean about the glitch.... the orange seems to lag in showing the more it runs (at least, that's what I'm assuming you mean)...

    Sorry though, after trying two or three things, I can't seem to help out there...it does seem like a bug...

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.