A Scratch-inspired DSL and game engine built in Java with JavaFX.
Download and install JDK 17 from: https://www.oracle.com/java/technologies/downloads/#java17
Download the JavaFX SDK (Type: SDK — NOT jmods): https://gluonhq.com/products/javafx/
Mac:
- Install Homebrew (if not already installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"- Add Homebrew to your PATH (replace
your_usernamewith your Mac username):
echo >> /Users/your_username/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv zsh)"' >> /Users/your_username/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv zsh)"- Install Maven:
brew install mavenWindows:
- Download Maven from https://maven.apache.org/download.cgi (Binary zip archive)
- Extract it to a folder e.g.
C:\Program Files\Maven - Add Maven to your PATH:
- Search "Environment Variables" in the Start menu
- Under System Variables, find
Path→ Edit → New - Add the path to Maven's
binfolder e.g.C:\Program Files\Maven\apache-maven-3.x.x\bin
- Restart your terminal and verify with
mvn --version
Add this to .vscode/settings.json:
{
"java.project.sourcePaths": ["src/main/java"],
"java.configuration.updateBuildConfiguration": "automatic"
}mvn javafx:run- The
LanguageConfig.javafile has all the commands that should be working
- scratch.mit.edu