GameSalad

Howdy, Stranger!

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

Animated Actors Conflict

TobyToby Posts: 478Member
edited 1:11AM in Working with GS (Mac)
I have an issue with an animated actor,

- The problem actor has a normal animated state consisting of 12 frames 55x55px
- It has a rule applied when the Player Actor collides with it replace the animation.
- The replacement actor has a slightly changed visual appearance consisting of 12 frames 55x55px

The result is a flickering of normal state and replacement state on collision that sometimes corrects itself - rather than a straight transition. They appear to be fighting with each other.

Sometimes there is no flickering on collision, seems to be intermittent.

Suggestions, known bug?

Comments

  • SDMGSDMG Posts: 280Member
    So does this mean you have two actors each with another animation behaviour?

    Have you tried to put both animation-behaviours in one actor into a rule like:

    On collide with actor blabla ---> animation1
    Otherwise ---> animation2

    This way you don't have to spawn an actor on every collision event and there should be no more fighting too ;)
  • TobyToby Posts: 478Member
    Doh, yep that works. As usual.... I'm trying to solve a simple problem with a complex solution. Thanks very much.
This discussion has been closed.