Skip to content
Snippets Groups Projects
  • chrisgarrity's avatar
    be208ba1
    Player mode (#1909) · be208ba1
    chrisgarrity authored
    * Player mode
    
    Add isPlayerOnly property on GUI. Move isFullScreen into mode reducer with isPlayerOnly.
    
    Full screen needs to be a separate prop so that GUI knows what to show when exiting full-screen (either player-only or full editor).
    
    - set `gui-body * {box-sizing: border-box;}` instead of expecting it to be set by the enclosing component/playground, and removed uses of content-box (adjusting sizes as needed) 
    - Added `!isPlayerOnly` to the conditions for draggable sprites
    - rewrote player example to use player mode.
    Player mode (#1909)
    chrisgarrity authored
    * Player mode
    
    Add isPlayerOnly property on GUI. Move isFullScreen into mode reducer with isPlayerOnly.
    
    Full screen needs to be a separate prop so that GUI knows what to show when exiting full-screen (either player-only or full editor).
    
    - set `gui-body * {box-sizing: border-box;}` instead of expecting it to be set by the enclosing component/playground, and removed uses of content-box (adjusting sizes as needed) 
    - Added `!isPlayerOnly` to the conditions for draggable sprites
    - rewrote player example to use player mode.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.