Actor "Overlaps or Collides" Detection Not Working
jacob@narrativemachine.com
Member, PRO Posts: 15
I've been using Gamesalad for about a year now, and this is the first time I've run into something like this. I have two actors: Actor1 and Actor2. When I place an "overlaps or collides" rule in either of these, no events are fired upon overlap. They simply pass through each other.
Actor1 Behaviors
Change Velocity
Rotate
Change Size
Rule (When Touch is Pressed){
Change Attribute game.Score
Destroy
}
Rule (When Overlaps or Collides with Actor 2){
Change Attribute game.Health
Destroy
}
Actor2 Behaviors
Rule (When Touch is Presses){
Set Timer (Every 0.1 seconds){
Change Attribute Self Position X
}
}
Rule (When Attribute game.Health < 1){
Change Scene
}
-I am running Gamesalad 0.10.3
-There are no other collisions yet in the entire game
-All actors are set to movable
-I am not using gravity
-There are 2 layers in the scene (I've noticed that I cannot rename any layers since I updated, so I'm wondering if this is a related bug. I've tried deleting the new layer and putting everything onto one, still no good)
Any help or ideas would be greatly appreciated, I'm banging my head against the wall with this one.
Actor1 Behaviors
Change Velocity
Rotate
Change Size
Rule (When Touch is Pressed){
Change Attribute game.Score
Destroy
}
Rule (When Overlaps or Collides with Actor 2){
Change Attribute game.Health
Destroy
}
Actor2 Behaviors
Rule (When Touch is Presses){
Set Timer (Every 0.1 seconds){
Change Attribute Self Position X
}
}
Rule (When Attribute game.Health < 1){
Change Scene
}
-I am running Gamesalad 0.10.3
-There are no other collisions yet in the entire game
-All actors are set to movable
-I am not using gravity
-There are 2 layers in the scene (I've noticed that I cannot rename any layers since I updated, so I'm wondering if this is a related bug. I've tried deleting the new layer and putting everything onto one, still no good)
Any help or ideas would be greatly appreciated, I'm banging my head against the wall with this one.
Answers
Or like you said regarding the layers they need to be in the same block of layers don't they?
if you cant have them in the same layer then PM me so I can try to explain it to you how to fix it
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮