Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jerakin/editor-script-components
Editor script for creating components from resources
https://github.com/jerakin/editor-script-components
defold defold-editor-script defold-library defold-module
Last synced: about 1 month ago
JSON representation
Editor script for creating components from resources
- Host: GitHub
- URL: https://github.com/jerakin/editor-script-components
- Owner: Jerakin
- License: mit
- Created: 2019-10-14T07:56:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-05T19:49:28.000Z (7 months ago)
- Last Synced: 2024-11-02T14:33:41.796Z (about 2 months ago)
- Topics: defold, defold-editor-script, defold-library, defold-module
- Language: Python
- Size: 861 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Components
## Install
You can use the these editor scripts in your own project by adding this project as a [Defold library dependency](https://www.defold.com/manuals/libraries/). Open your game.project file and in the dependencies field under project add:
https://github.com/Jerakin/editor-script-components/archive/master.zip## Editor Script
This script adds a few menu items, which shows up depends on the type of file selected. They all create a new resource depending on your selection. A wav or ogg creates a sound component, a json will create a spine scene and a spine scene a spine model.
If you want to create atlases I recommend using https://github.com/Jerakin/editor-script-atlas
```
$.wav => $.sound
$.ogg => $.sound
$.json and $.atlas => $.spinescene
$.spinescene => $.spinemodel
$.dae => $.model
```