Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement First Pass Script Execution #147

Closed
wants to merge 6 commits into from

Conversation

zicklag
Copy link
Member

@zicklag zicklag commented Jul 25, 2022

  • Added .editorconfig file to configure different tab sizes for JavaScript and Rust. This helps for editors with editorconfig enabled to give a consistent style. Without it things can get weird because of editor defaults for different languages not complying with installed formatters.
  • Added TypeScript and JavaScript asset loaders
  • Added script loading and hot reloading
  • Added script log API
  • Rework script loader to use modules, i.e. export and import.
  • Rework to not use modules again.
  • Implement scripting engine for WASM backend
  • Implement component modification by scripts

Works towards #140.

Not done yet, but in a rather stable state that is very indicative of the direction I'm going with it.

@zicklag zicklag force-pushed the scripting-mvp branch 9 times, most recently from bb41152 to 2b857f1 Compare August 1, 2022 00:41
zicklag added 6 commits August 1, 2022 17:03
- Added TypeScript and JavaScript asset loaders
- Added script loading and hot reloading
- Added log API
- Add a trait API for scripting engines that makes it easy to use from
Bevy systems.
- Migrated existing JavaScript scripting engine to use the new
abstraction.
- Use JavaScript modules instead of scripts for script loading.
- Modules turned out not a great idea for browser support for now, so we
migrate back to plain scripts.
- Add stub implementation for scripting engine for the browser.
- Small tweaks to prepare for next scripting work.
- Update dependencies.
@zicklag
Copy link
Member Author

zicklag commented Sep 18, 2022

Closing this now that my changes have been merged into bevy_mod_js_scripting.

@zicklag zicklag closed this Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant