Skip to content

Examples: Add In-game blocks demo #380

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

Merged
merged 3 commits into from
Jun 10, 2025
Merged

Examples: Add In-game blocks demo #380

merged 3 commits into from
Jun 10, 2025

Conversation

manuq
Copy link
Contributor

@manuq manuq commented Feb 6, 2025

Although this is not supported and not our main goal, it is also the biggest request by far from the community. This PR is just making the smallest changes and adding a demo to show that the capability is there.

#196

manuq added 3 commits June 9, 2025 16:46
EditorInterface does not exist when blocks run outside the editor.

Use custom icons for the zoom in and out buttons instead of doing a
lookup for the editor icons.

Also let the edited node be null.
The block picker may not be necessary when using blocks in game. For
example, the scene could be about reaching a goal with the existing
blocks in the canvas.
Just a demonstration to show the potential capability.
@manuq manuq changed the title WIP: Blocks in-game changes and example Examples: Add In-game blocks demo Jun 9, 2025
@manuq manuq marked this pull request as ready for review June 9, 2025 21:37
@manuq manuq requested a review from wjt June 9, 2025 21:37
@manuq
Copy link
Contributor Author

manuq commented Jun 9, 2025

I rebased and a cleaned up what I did before, and what is shown in #196 (comment) . I guess there is no harm in landing this as a demo.

@wjt wjt merged commit ab5e6d6 into main Jun 10, 2025
3 checks passed
@wjt wjt deleted the in-game branch June 10, 2025 10:11
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.

2 participants