Gamesalad not animating actor?

MeaningfulGamesMeaningfulGames Member, PRO Posts: 171
edited August 2012 in Working with GS (Mac)
I'm sure this is to no fault of GS. Basically I have an endless runner which involves an actor being animated. However, I cannot get my animation to work with the animate behavior. I'm having a hunch that it may be something to do with the actor moving constantly, or maybe the size of the image (though all pngs of the animation are exactly the same size). Does anybody know any features that may somehow restrict animation if they are turned on/off?
Thanks guys!

Comments

  • MeaningfulGamesMeaningfulGames Member, PRO Posts: 171
    I'm sure this is to no fault of GS. Basically I have an endless runner which involves an actor being animated. However, I cannot get my animation to work with the animate behavior. I'm having a hunch that it may be something to do with the actor moving constantly, or maybe the size of the image (though all pngs of the animation are exactly the same size). Does anybody know any features that may somehow restrict animation if they are turned on/off?
    Thanks guys!
    I was talking about the platform, which I have made to move at a speed using the "Move" behaviour. This way platforms are moving to the left of the screen, with the main actor only controlling the jump.
  • MotherHooseMotherHoose Member Posts: 2,456
    edited August 2012
    try setting the platformActors' movement … using their Motion Linear Velocity X

    EX: platformActor
    Motion Attributes: Linear Velocity X = -25

    basically … Behaviors in GS are used to change attributes
    (albeit sometimes with visible beautiful complexity in the changing!)

    as GS gives the defaultAttributes MLV X;Y ones to give movement to actors
    use them for a constant movement left/right; up/down … directions ±
    you can change them with rules/behaviors

    moveBehavior is for moreComplex changes: MLV and direction ± to the MLV value)
    in your scenario Move is changing the MLV X from the preset 0 to what you code

    try to use the built-in attributes … especially when the actor has no user input

    image MH
  • MeaningfulGamesMeaningfulGames Member, PRO Posts: 171
    @MotherHoose I'm sorry but I don't understand :/ I've contacted a friend of mine and he's said its a strange problem. My platforms move to the left, and the player actor DOES use user input (tap on screen is a jump). Its just whenever I try and use the animate behavior it doesn't work. I've tried putting a timer on after 0.1 sec (run to completion), animate... Nothing works. Could this be a bug?
  • MeaningfulGamesMeaningfulGames Member, PRO Posts: 171
    Also, I opened up a brand new project and added a quick animate rule with the pngs I have, and they worked fine so it isn't the frame's fault. However I tried to do a Change Image behavior to try it out, that doesn't work either.
    So basically my actor cannot change image in any way.
    Anyone have any suggestions as to how you combat this? It may be a setting or attribute I used that may be the cause of this.
Sign In or Register to comment.