-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add some presets of scripts as examples #1
Comments
@triptych Hey! I've refactored the entire UI and added a base for script examples! What do you think? Btw, I already deployed it for tests: https://gd.tumeo.space/ |
What would be some desired script presets? @williamd1k0 Some ideas off the top of my head:
I think these could be demonstrated just using print(), although it might be difficult because I don't think you can create packed scenes from code, which means no instancing and no more than 1 script.
More general programming problems:
|
Some ideas for examples
|
@williamd1k0 Looks great! Glad to see it working! I could see the demos as a way to test out each api almost as a type of unit test style thing. Seeing the syntax in action is really a great way to learn more about GDScript. |
Sorry for the late reply, I was super busy at my main job. 😣 @regakakobigman Since the current implementation does not support non-blocking code (yet), it's a bit hard to add complex and/or async examples such as yields. @nitodico @triptych I just added simple examples for arrays and dictionaries. When I get more free time, I will try to add more examples. Thank you for being interested in this project! |
First of all thanks for this project, it should get more attention! I would consider it an enhancement if there was a directory with *.gd scripts, which would make it easier to add examples. |
The text was updated successfully, but these errors were encountered: