Web only: This extension runs exclusively in VS Code for the Web and is not compatible with VS Code desktop.
Mindcraft is a tile-based programming language for creative coding applications. Programs are built by arranging tiles -- typed, composable tokens -- into rules. A collection of rules forms a brain, which drives the behavior of in-game actors.
What This Extension Does
This extension lets you author custom brain tiles in TypeScript and use them in a live Mindcraft app. A bridge connects VS Code to your running Mindcraft app session -- edit a tile source file and it becomes available in the brain editor immediately. No local toolchain required.
Example: Authoring a "teleport" actuator in TypeScript:
Getting Started
Open vscode.dev in your browser and install the Mindcraft extension.
Launch your Mindcraft app and enable the VS Code Bridge. Make note of the generated join code.
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and run Mindcraft: Connect, entering your join code.
Scaffold a new tile with Mindcraft: Create New Sensor or Mindcraft: Create New Actuator.
Edit the generated TypeScript file -- your tile is instantly available in the brain editor.