Skip to content
 
 

Latest commit

 

History

15,730 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MistWarp editor

This repository contains the browser editor used by MistWarp. It is based on Scratch GUI and TurboWarp, with MistWarp's community, collaboration, project settings, and developer tools built in.

Requirements

  • Node.js 20
  • pnpm 10.28.2, pinned in package.json
  • The sibling scratch-vm, scratch-blocks, scratch-render, and scratch-paint repositories when changing linked editor packages

Run the editor

pnpm install --frozen-lockfile
pnpm start

Open http://localhost:8601/editor.html. The development server rebuilds changed files automatically.

Run pnpm run link after installing when you need the sibling MistWarp packages. pnpm run reinstall refreshes dependencies without deleting the lockfile.

Checks

pnpm run test:unit:ci
pnpm run test:smoke
pnpm run build

Use pnpm run test:unit:watch while working on unit-tested behavior. Use pnpm run test:unit:addons for the smaller addon settings suite.

The unit command covers every file under test/unit. Pull requests run the full unit suite and a production build.

Where editor code lives

  • src/components/gui owns the main editor layout and responsive behavior.
  • src/components/tw-settings-modal owns Settings pages and their navigation.
  • src/components/menu-bar and src/lib/mw-menu-bar-layout.js own menu-bar rendering and saved layout.
  • src/containers connects presentational components to the VM and Redux.
  • test/unit tests component and library behavior. test/integration contains browser workflows against a built editor.

Keep settings destinations broad. Put related controls in tabs inside a page instead of adding another sidebar item.

License

TurboWarp's modifications to Scratch are licensed under the GNU General Public License v3.0. See LICENSE or https://www.gnu.org/licenses/ for details.

The following is the original license for scratch-gui, which we are required to retain. This is NOT the license of this project.

Copyright (c) 2016, Massachusetts Institute of Technology
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

src/lib/default-project/dango.svg is based on Twemoji and is licensed under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/

About

MistWarp GUI and addons

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages