- Clone the repository screepers/screeps-typescript-starter: Starter kit for TypeScript-based Screeps AI codes.
- Follow the direction to setup all the prerequisites
- Setup the API token of Screeps in the
screeps.json
then you're able to userollup
compile scripts - Finally, use
npm run push-main
to deploy the scripts!
This is a step by step guide to setup Visual Studio Code for Screeps. It shows how to setup Visual Studio Code with TypeScript Declarations as the main editor for Screeps on a local server. It includes step by step screenshots and is intentionally aimed at beginners.