Frustrating problem, 1 actor multiple states
Toby
Member Posts: 478
Cant for the life of me work out how to do the following - Tired
Have 2 actors on stage, 1 is the player one is a block
Trying to build some logic that will allow me to do the following:
- When player overlaps or collides with block - change state x 1 (colour, animate etc)
- Then i want the player to be able to leave the block and on return collision make the block return to it's original condition or another state?
I have achieved the two states but the block is just hammering through the states as each condition is met and not staying in the desired state. This seems so easy but nothing is working for me.
Cant think.... whats the solution or am i making something overly complex?
Have 2 actors on stage, 1 is the player one is a block
Trying to build some logic that will allow me to do the following:
- When player overlaps or collides with block - change state x 1 (colour, animate etc)
- Then i want the player to be able to leave the block and on return collision make the block return to it's original condition or another state?
I have achieved the two states but the block is just hammering through the states as each condition is met and not staying in the desired state. This seems so easy but nothing is working for me.
Cant think.... whats the solution or am i making something overly complex?
Comments
Nothing in the wiki or forums.
Ace
The second time the ball touches the block i want it to turn back to white!
http://gallery.me.com/toby.bridson/100037
http://gallery.me.com/toby.bridson/100045
Needs to change and then pause. Can you disable overlap or collide of the above player actor?
http://gallery.me.com/toby.bridson/100068/GameSaladScreenSnapz003/web.jpg?ver=12975581680001
http://gallery.me.com/toby.bridson/100078
is there a better way?