Commit Graph

14 Commits

Author SHA1 Message Date
Florian Rival 9b178bc985 Fix "Remove Unused Images" removing images used by BBText object
Don't show the rest in changelog:
* More generally, fix resources exposed by any object declared in JavaScript
* Refactored GetProperties (and UpdateProperty) across behavior/object/behavior shared data to remove the dependency on gd::Project.
2020-06-23 22:40:38 +01:00
Florian Rival 0f30c2d614 Fix memory leak leading to a crash in the editor when having a BB Text in the scene.
* Also fix similar smaller memory leak when using other features.

Don't show the rest in changelog:
This avoids calling new gd.PropertyDescriptor every time properties of an object/behavior are accessed, which would result in these gd.PropertyDescriptor to be never destroyed. This would fill up the memory, especially quickly with the BB Text object as properties are queried to render the instances on screen.
"getOrCreate" is now exposed for the map of properties, which is cleaner and memory leak free.
2020-06-20 17:59:27 +01:00
Florian Rival c986c52409 Add document explaining platforms and exporters 2020-01-26 20:43:39 +00:00
Florian Rival 5449bc1ba4 Add watcher to automatically import changes to GDJS/extensions in newIDE (#1307)
* Add watcher to automatically import changes to GDJS/extensions in newIDE

  This watches for changes in GDJS or extensions and automatically run the "import-GDJS-Runtime.js" script.

  This allows for faster iterations when working on GDJS or JS extensions: do some changes, verify that the console says that changes were imported, launch the preview

* Adds an option in preferences to deactivate this in case of issues.

* Also move BrowserS3GDJSFinder and LocalGDJSFinder in newIDE/app/src/GameEngineFinder.

* Update READMEs to mention automatic import of GDJS and extensions runtime sources
2019-12-02 22:18:36 +00:00
Florian Rival 466813fa16 Fix Nightly Builds download links 2019-08-25 19:29:23 +02:00
Florian Rival 69d9df1345 Add upload of builds (done by CircleCI) to a AWS S3 bucket (continuous deployment) (#1207) 2019-08-23 17:48:53 +02:00
Florian Rival 5c648e3f2b Add explanations in docs about JS and global variables 2019-08-23 16:33:29 +02:00
Wend1go 7509e162c8 Fix grammar 2019-08-16 08:51:19 -07:00
Florian Rival 41cee4912b Add explanation about properties and PropertiesEditor 2019-08-15 14:25:18 -07:00
Piyush Palawat fc3ab0af9e Fix typo 2019-08-04 23:14:41 +01:00
Florian Rival ed353dad6c Add more information about using git 2019-08-04 22:55:17 +01:00
Florian Rival 35fb1d91c0 Add explanations about git in the developer docs 2019-08-04 21:37:52 +01:00
Wend1go 0dd837d127 Fix typo/spelling in README (#926) 2019-02-05 10:01:30 +00:00
Florian Rival 2e6821d231 Add documentation about JS features/code style/typing 2019-02-04 21:30:54 +00:00