On destroyed bug

  • Problem Description

    ____ "on destroy" executed in wrong layout____

    Attach a Capx

    ____ Upload a Capx to this post ____

    Description of Capx

    ____ touching layout 1 load layout 2. on layout 2 "gun" shoot a "bullet" to "target", on collision between "bullet" and "target" layout 1 is loaded. ____

    Steps to Reproduce Bug

      [1] touch on screen. Observed Result ____ "gun" had an "on destroyed" action to spown "X" sprite. the "x" sprite spown on layer 1 . ____ Expected Result ____ Layout 1 with no sprites ____ Affected Browsers
      • Chrome: (YES)
      • FireFox: (YES)
      • Internet Explorer: (YES)

    Operating System and Service Pack

    ____ windows 8.1 ____

    Construct 2 Version ID

    ____ 184 64 bit ____

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Closing as won't fix. When the layout changes, it destroys all objects in the layout. The layout is halfway through changing, and created objects end up on the next layout since they are created after the "destroy all objects on the current layout" step.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)