Editor, copy-paste object +/- effect bug

0 favourites
  • 3 posts
From the Asset Store
Allows players to create their own levels/maps, save and load them.
  • Problem Description

    If you copy/paste actions where an object's effect parameters are being set and then replace the object with another that does not have the same effect then the events disappear. Then if you add the effect to the second object and then copy/paste the first actions again, the originally replaced second-object actions appear, along with the newly pasted event actions.

    Attach a Capx

    capx link

    Description of Capx

    There are 2 objects,Ssprite1 and Sprite2. Sprite1 has the effect "Set Color" and the effect's parameters are set on start of layout in the event sheet.

    Steps to Reproduce Bug

    • Copy/paste the 3 actions to set Sprite1's effect parameters.
    • On the newly pasted actions, replace object Sprite1 with Sprite2, observe the actions disappear.
    • Add the effect "Set Color" to Sprite2.
    • Copy/paste the 3 actions again.

    Observed Result

    The first 3 pasted actions appear, with successfully completed replaced object from the first steps.

    Expected Result

    Objects without the effect should not be offered as options for replacement and, on pasting the copied events, only the most recently copied actions should appear.

    Affected Browsers

    • N/A

    Operating System and Service Pack

    W10 x64

    Construct 2 Version ID

    r221 64 bit

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I can reproduce, but it's a tricky fix. For now the next beta has a small tweak to make this a bit less confusing: the actions that disappear come back when you add the effect to Sprite2, instead of when you paste actions again.

  • Sounds good - thanks ASHLEY.

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