PurpleKingdomGames/indigo
{ "createdAt": "2020-05-30T12:45:05Z", "defaultBranch": "main", "description": "An FP game engine for Scala.", "fullName": "PurpleKingdomGames/indigo", "homepage": "https://indigoengine.io/", "language": "Scala", "name": "indigo", "pushedAt": "2025-11-20T08:36:38Z", "stargazersCount": 702, "topics": [ "elm-architecture", "game", "game-development", "game-engine", "gamedev", "indigo", "scala", "scalajs" ], "updatedAt": "2025-11-21T01:57:24Z", "url": "https://github.com/PurpleKingdomGames/indigo"}INDIGO HAS MOVED HOME!!!
Please head over to https://github.com/PurpleKingdomGames/indigoengine for the up to date source code.
Indigo
Section titled “Indigo”Indigo is a game engine written in Scala for functional programmers. It allows game developers to build games using a set of purely functional APIs that are focused on productivity and testing.
Indigo is built entirely on Scala.js + WebGL, but it’s sbt and Mill plugins will export games for web, desktop (via Electron), and mobile (via Cordova). Hypothetically consoles could also be supported.
Documentation can be found on indigoengine.io.
Thank you, to our sponsors! 💜
Section titled “Thank you, to our sponsors! 💜”Thank you to all our wonderful sponsors, and particularly to dedipresta for their generous support.
![dedipresta]!(sponsors/dedipresta.png)
If you’d like to help advance our work, we are ever grateful for all forms of contribution, either by volunteering time or financial backing.
Full local build and test instructions
Section titled “Full local build and test instructions”Using Nix
Section titled “Using Nix”The root of the project contains a very very simple flake.nix file that, if you have nix installed and flakes enabled, will give you all the tools you need to build Indigo by running nix develop in the root directory.
Build requirements
Section titled “Build requirements”You will need:
- Mill
- SBT
- JDK (Update: 8 works, 17 is used in Indigo’s development)
Running the build
Section titled “Running the build”On Mac / Linux, from the repo root to do a full build and test:
bash build.shOn Windows, open up powershell and run:
& build.ps1There is also another script which is a bit faster since it doesn’t build the examples or demos.
bash localpublish.shSoftware requirements for running games
Section titled “Software requirements for running games”The list above covers the software needed to build Indigo itself, but to run a game you may also need:
- NPM and/or Yarn
- NodeJS
- Electron
- An http server that will serve static from a directory (suggestions:
http-servervia npm, or Python’sSimpleHTTPServer) - A frontend packaging tool such as Parcel.js