Construct 3 r200

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • Great job!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I'd like to know how to use "Add object class and runtime" instancecreate "and" instancedestroy "events". Are there any cases and demonstrations?

      • [-] [+]
      • 2
      • Ashley's avatar
      • Ashley
      • Construct Team Founder
      • 2 points
      • *
      • (0 children)

      Try using addEventListener("instancecreate") or addEventListener("instancedestroy") on an object class or the runtime. That's the standard way events are used, so if you ever see an event mentioned, that's what you do.