On destroyed bug

Bugs will be moved here once resolved.

Post » Mon Oct 20, 2014 10:23 am

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 ____
You do not have the required permissions to view the files attached to this post.
Posts: 1
Reputation: 177

Post » Mon Oct 20, 2014 5:09 pm

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.
Scirra Founder
Posts: 25,073
Reputation: 199,682

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests