feat: Align MicrobitMore Ruby integration with new blocks#523
Merged
takaokouji merged 4 commits intodevelopfrom Jan 17, 2026
Merged
feat: Align MicrobitMore Ruby integration with new blocks#523takaokouji merged 4 commits intodevelopfrom
takaokouji merged 4 commits intodevelopfrom
Conversation
- Update generator for 'when_tilted', 'tilted?', and 'tilt_angle'. - Update converter for tilt directions and 'jumped'/'moved' gestures. - Standardize tilt direction labels to lowercase. - Add new cases to integration tests. 🤖 Generated with [Gemini Code](https://gemini.google.com/code) Co-Authored-By: Gemini <noreply@google.com>
Added Ruby code snippet for the new when_tilted block to enable autocomplete support in the Ruby editor. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Standardize block direction values to uppercase (FRONT, BACK, etc.). - Update generator and converter for uppercase block values. - Add and update unit tests for tilt-related blocks. - Fix cspell configuration for FREEFALL. 🤖 Generated with [Gemini Code](https://gemini.google.com/code) Co-Authored-By: Gemini <noreply@google.com>
- Updated package-lock.json to reference latest scratch-vm changes - Ensures compatibility with recent scratch-vm modifications 🤖 Generated with [Gemini Code](https://gemini.google.com/code) Co-Authored-By: Gemini <noreply@google.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the Ruby integration for the MicrobitMore extension to support the new blocks and gestures implemented in scratch-vm.
Changes
when_tilted,tilted?, andtilt_angle.jumped,moved).any,front,back,left,right) consistent with Scratch.Note
This PR depends on the changes in smalruby/scratch-vm#93. After that PR is merged,
package-lock.jsonin this repository should be updated to point to the latest commit of scratch-vm.🤖 Generated with Gemini Code
Co-Authored-By: Gemini noreply@google.com