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

Post » Fri May 26, 2017 12:15 pm

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?

Events:
- 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)

Image
C3 project file: Dropbox link
B
6
Posts: 3
Reputation: 256

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests