Repository navigation
Conversation
…he one on top reacting to the inputs
Contributor
Preview the game(s) changed or added in this Pull RequestThis is an automatic message displaying links to the games in this PR - double check the JSON in case of doubt. |
- Replace IsCursorOnObject2 with IsCursorOnObject in scene events and embedded Shop/Scrollbar extensions. - Enable focusParentCustomObject on the modal Panel children of embedded Dialogs and Shop variants.
…nged by the interface elements)
…le masking) to the versions of the extensions pull request
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.
A playground to stress the "Interface element" behavior of 4ian/GDevelop#9426, using the extensions of GDevelopApp/GDevelop-extensions#2388. To merge once GDevelop ships the behavior and the extensions are updated.
What's in the scene
[Nested dialogs](
https://github.com/GDevelopApp/GDevelop-examples/blob/claude/dreamy-mendel-iw5mn6-interface-playground/examples/interface-playground/preview.png?raw=true)The events stay short. They open dialogs (one "for each" creates every kind, each above the others) and delete them when closed, and they place the overlay. Nothing handles the focus: the panels of the dialogs have the behavior. The world uses "The cursor/touch is on an object", which ignores the covered parts by default for new events. The cursor ring uses the new condition "The cursor/touch is on an object blocking the pointer".
Gameplay tests (7, all passing with GDevelop built from the engine PR)
Performance (headless, software rendering, step time per frame)
The behavior itself costs almost nothing: covering is only checked for the buttons under the pointer. The cost of 40 dialogs is their own per-frame events, mostly the 20 shops: their items, buttons and scrollbars.
Generated by Claude Code