I’m experiencing an issue where I cannot use the script editor to change the score. If I press the “Save and refresh score” button, all of my changes are abandoned. similarly with the “Refresh code” button.
Steps to repeat:
Create an object in the score view
open the script editor (Inspector->Files Tab->Double click on the score name)
make some changes (I was attempting to change x/y pos on a trigger)
click the Save and refresh score button.
Changes in the script editor are removed and the original score is replaced.
IanniX 0.9.14 beta. Using OsX 10.7.5.
After playing around for a while, I realized that this only occurs in the sections labeled “This section is automaticaly overwritten when saving a score.”
Does this mean that these sections are unable to be edited by the script editor?
Hi!
Yes exactly. If you want to add some code to your graphical score, you should write the code in the function makeWithScript()
(add objecte BEFORE graphical ones) or alterateWithScript()
(to add code AFTER graphical editing).
You cannot edit manually the score or you should do this through an external editor.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |