Collisions not detecting in 0.9.0 - worked on 0.8.7!

twinpixtwinpix Member Posts: 49
edited November -1 in Working with GS (Mac)
I have a kids game made with 0.8.7 and now that I've upgraded to 0.9.0 the collisions don't work as well. I can see the actors should be colliding but sometimes the collision is ignored. Worked perfectly fine in previous versions!

I can't publish an update using 0.8.7 software because of the new 0.9.0 system.

HELP!!!

Comments

  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    If you are detecting if an actor is colliding/overlapping with another actor, if one is still colliding/overlapping while another one starts the collision, a new event trigger won't occur.
  • UtopianGamesUtopianGames Member Posts: 5,692
    You need to make sure at least one of the actors is movable for the collisions to register, could this be the problem?

    Darren.
  • twinpixtwinpix Member Posts: 49
    Yes, one of the actors is indeed moveable.

    So, CodeMonkey, is this a new collision detection scheme for 0.9.0? I haven't changed any of the behaviors of my actors since 0.8.7 and its really delayed the "reaction time" in detecting collisions in 0.9.0.
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    I'm not exactly sure how your game works. That was a guess. The system is faster, so you may not see events from other actors if you change the condition in the same rule detecting it.

    e.g. If collides with actor1 AND attribute game.playing is true THEN change attribute game.playing is false
  • twinpixtwinpix Member Posts: 49
    I have an actor that's a BUBBLE and another actor that's a water SPRAYER. The water SPRAYER spawns WATER DROPS that the player uses to pop the BUBBLES. When the WATER DROP collides with a BUBBLE, it changes the HIT BUBBLE attribute of the bubble to plus 1. Once the HIT BUBBLE attribute = 5, the BUBBLE destroys itself.

    In 0.8.7 the collision was always detected, but not in 0.9.0.

    In other words, if the user just holds the SPRAYER over the BUBBBLES and hits them with a stream of WATER DROPS, the collisions are NOT accounted for. But once they move the sprayer away and back again, the BUBBLES start to pop. Does that make sense?
Sign In or Register to comment.