"Set effect" applies to class/object type and not instance?

0 favourites
  • 1 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • Hi

    I don't know if this is an error from my side, working as intended or a bug in construct 3.

    I've created this simple example with one sprite that has the effect "SetColor". When I set the effect parameter it applies to all instances and not the instance just created, which I would expect. I also change the sprite angle and that works as intended on the new instance.

    Is this me misunderstanding something or is it a bug?


    • Every second call CreateBox()
    • On CreateBox()

    -- Create Sprite instance at random position

    -- Set angle to random (Works on instance level - changes only the instance just created)

    -- Set effect "SetColor" to random color (Works on class level - changes all instances)

    C3 project file: Dropbox link

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)