Constrain Delay! Help!!!

ClockClock Member Posts: 308
edited December 2011 in Working with GS (Mac)
I constrain my graphic to my actor. When i move my actor, the graphic has delay. Actor seems move faster than the graphic. How to fix this problem? My actor will be invisible, so the players look at the graphic instead of the actor. This is bad when i do the chase game where the enemies almost approach to my actor. Help!

Comments

  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    edited December 2011
    This happened to me........ i fixed it but i can't remember how ..... Ill go threw my archives in google docs....


    Yours Sincerely,
    Jack Leonard
  • muveemuttmuveemutt Member Posts: 83
    edited December 2011
    I. of course could probably be not of much use here, and I may even sound like a bumbling idiot saying this, but... I am gunna be hard headed and say it anyway :-) How far down is the constrain attribute in the list of things to do? is it the first thing the scene is checking for or the last for that scene? That is the only thing that I can think of that may give a delay... could there be something that you are telling the graphic or actor to do first that is causing the lag? I just had an issue where I added constraint rules to an actor that was already set up, and lag was not even close to what happened, the whole scene stopped working, but I moved the constraint up a level on one actor and down a level in its counterpart and now it works fine. Still new to this so, I may be waaay off, but if you try it and it works, will you let me know?
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    That's good advice. Any constraints should be the first things processed in your logic. There's also been a bug that causes jittery playback when using constraints, even if they were executed first, but haven't heard anything else about it for a while.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    I have a tank game with the same problem the top studders when I move and I have my logic for it at the top.
  • ClockClock Member Posts: 308
    @lenardelveoper: let me know how you fix it.

    @muveemutt: I tell the actor constrain is the first thing to do. Then do the up down left right. My scene only has one actor and one graphic that's all.

    anyone?
  • BBEnkBBEnk Member Posts: 1,764
    edited December 2011
    don't make an attribute to track your actor X and Y position, constrain your actor to the image through the actor instance "scene,background,actor1,pos.X" aka open the prototype in the scene.
  • ClockClock Member Posts: 308
    thank you so much
Sign In or Register to comment.