Closed JoeAtHPI closed 10 months ago
Totals | |
---|---|
Change from base Build 6983632022: | 0.0% |
Covered Lines: | 0 |
Relevant Lines: | 0 |
@tom95 latest commit adds a synchronisation of all previews and ready for merge if you approve
https://github.com/hpi-swa/sandblocks/assets/33000454/1e1a4ff8-14a8-4388-84c6-46d7946a75a8
With a given setup, the newly added Live View builds several Morphs which each behave like a universe of the multiverse. This allows for simultaneous testing of interactive classes like games and see changes right next to one another.
https://github.com/hpi-swa/sandblocks/assets/33000454/ec944e65-c822-40c0-afd5-f65f26e3dc74
With the Live View come two new classes: 1)
SBInputBroadcaster
a special block which sends its events to all its registered listeners. As elements like Buttons only work by handling events with the cursor, a temporaryHandMorph
handles mouse events. Drag events are not supported as of now. 2)SBLiveView
which offers a block for setup and generates a grid with a broadcaster and listeners. To resolve bindings and have consistent sizing, a few adjustments toSBExploriants
have been made.