NOTE
This is most probably Spriter's plugin bug, not C2 itself, yet I thought the bug section fit's the best to report that. lucid could you please try it first yourself before we bother Scirra to take a look on this one?
Problem Description
Once the SCML instance gets destroyed, it is not possible to create new instance of this object.
Attach a Capx
Download test capx here
Description of Capx
Capx has 2 event's. It destroys the SCML instance on start of layout. Then with every mouse click it should create the SCML object, but it does not. If you disable the first event (destroying on start), it works.
BTW: it's not related to "On start of layout" but purely to destroying the instance.
Steps to Reproduce Bug
- Run the project
- Click LMB on the canvas (nothing will appear)
- Remove/disable event no 1
- Run the project
- Click LMB on the canvas (instance will appear)
Observed Result
New instance does not create once any of this object was destroyed earlier.
Expected Result
Should be able to destroy and create instances any time.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Win 10
Construct 2 Version ID
r244
Additional note
This issue wasn't there with earlier version (plugin release 7/9/2016) of Spriter's C2 plugin. It started after I updated the plugin to the newest one.