Weird Issue...

DimensionGamesDimensionGames PRO Posts: 993
edited November -1 in Working with GS (Mac)
Hey all been working on something but then suddenly stopped working! Luckily wasn't knee deep in.....code by then so made a quick copy to see if it was a bug but did the same thing.

Attribute: self.position.x = 1075
interpolate self.position.x to -50
duration 4
function: Linear

Attribute: self.position.x
= -50
change attribute self.position.x to 1075

This code should show the actor going across the screen and then repeating but after two times stops working...any suggestions?

Cheers.

Comments

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Is this something that just animates all by itself, or is it triggered with another action?

    And maybe adding Y positions might help? Maybe not...
  • The actor starts at 1075 so the rules instantly apply. Can't understand why it wouldn't just need the x-coordinates! I must be doing something wrong...lol
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Use Greater or equal to 1075 and less than or equal to -50 should help give it a little leeway
  • tenrdrmer said:
    Use Greater or equal to 1075 and less than or equal to -50 should help give it a little leeway

    Already tried that, but no harm having another go!

    EDIT: Definately no harm having another go! I have no clue why it didn't work the first time but at least it works! Thanks for the help guys!
Sign In or Register to comment.