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

Add support for multiple code files in Blocks #6753

Open
alex-kulcsar opened this issue Mar 5, 2025 · 0 comments
Open

Add support for multiple code files in Blocks #6753

alex-kulcsar opened this issue Mar 5, 2025 · 0 comments
Labels

Comments

@alex-kulcsar
Copy link
Contributor

alex-kulcsar commented Mar 5, 2025

Is your feature request related to a problem? Please describe.
Low-powered machines, in particular, can get bogged down when rendering the workspace for large Blocks games.

Describe the solution you'd like
We already support multiple code files in JavaScript and Python. Why not extend this capability to Blocks? You could do an alternate presentation ... like tabs in an Excel workbook ... but we already have an established UI for the typing languages. Exposing that UI in Blocks mode also allows extensions to be deleted, reloaded, and updated without needing to switch to one of the typing languages.

If the file manager seems too distracting for Blocks mode, then hide it until activated elsewhere in the UI.

Describe alternatives you've considered
Splitting Blocks code into separate projects and then importing them as extensions works as an alternative, but it's clunky.

Additional context
Aside from helping low-powered machines to handle large and complex games, splitting Blocks code into multiple workspaces can help organize code and, potentially, teach users about modularity and code reuse.

@abchatra abchatra added the blocks label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants