Sign in to follow this  
Golden Gui

Error occuring during collision event

Recommended Posts

Hello,

 

I'm following the Space Invaders tutorial, during the collision management part of the tutorial i'm facing an issue when the onCollision event is reached. The removeChild from the inherited object isn't recognized. I didn't found the solution yet.

 

Hoping you can help me. Thanks in advance.

 

 

collisionUndefined.png

Edited by Golden Gui
adding more details about the issue

Share this post


Link to post
Share on other sites

i tried to implement the method who call the method from the parent on pnjManager but the result is actually the same:

 

removeChild: function (child) {
      this._super(me.Container, "removeChild", [child]);
      this.updateChildBound();
    },

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.