makspll / bevy_mod_scripting

Bevy Scripting Plugin
Apache License 2.0
401 stars 31 forks source link

WIP: Update to 0.9.1 #38

Closed opfromthestart closed 1 year ago

opfromthestart commented 1 year ago

Attempting to update everything to bevy 0.9.1, and thought that it should be pushed back into the original. Not everything works yet, and I can't test teal by myself.

makspll commented 1 year ago

Do run cargo clippy --features=lua54,rhai,teal,lua_script_api,rhai_script_api --fix as well please

opfromthestart commented 1 year ago

I saw that you were attempting it through your post in the discord related to CachedScriptState, but didnt see a branch dedicated to it so just did all the changes here.

makspll commented 1 year ago

Oh I see, yeah I briefly experimented with the migration before life got in the way, I did not push these experiments to any branch, so your PR is very welcome!

Do let me know if any of these changes are too much and I'll take over them!

opfromthestart commented 1 year ago

I cannot test the game of life example, which is the only one which uses a camera, so I don't know if it is working correctly, but everything appears to work now.

makspll commented 1 year ago

All looks fantastic, game of life works :) I'll make some changes and then merge and hopefully release soon