I have been playing around with text scripting for a bit now and here are some suggestions I have.
Right now there is no way to share code between game logics. It would be nice to be able to import other yjs files in your script or to have global scripts that all scripts automatically have access to. However, right now you can share code between scripts in the same game logic, but if you need that code in multiple different game logics you would have to add that script to each of them. Then that becomes a problem if you want to do something like a gamemanager script where the script keeps track of the gamestate and whatnot.
We don't have i++, instead we have i += 1. It would be nice to have i++ since most people are used to typing that in javascript for loops.
It would be cool if we could create visual scripting tiles from text scripting. Allowing us to hide the more complex code in scripts and then use visual scripting to link it all together so it is easier to quickly change things(sort of like how UE4 does it). It would also allow people who don't want to get into text scripting a way to use other peoples text scripts in their own project without having to learn javascript.
Text script errors in chat blend together with multiple errors in a row. Would be nice to have some type of separator between the errors or even a new window that would pop up and display the error in a more easily readable way.
I have been playing around with text scripting for a bit now and here are some suggestions I have.
Share this post
Link to post
Share on other sites