LunarBasic logo

Make retro-style games fast with a simple BASIC language that compiles to native binaries.

Games built with LunarBasic run on Windows, macOS, and Linux Arm64 (with Linux x64 coming soon) and are distributed as standalone executables with no dependencies or runtimes. Executables are native, not interpreted, so they execute at the speed of a compiled language, while still maintaining the simplicity and ease of use that BASIC is known for.

Example Demos Built With LunarBasic

Platformer demo gameplay

A BASIC Programming Language for 2D Games

LunarBasic combines approachable BASIC syntax with the graphics, audio, input, and debugging tools needed to create complete retro-style games. Start with the first interactive program tutorial or browse the language reference.

  • BASIC-style syntax built for learning and experimentation
  • An integrated editor, help viewer, and build pipeline
  • Step debugging for running code line by line
  • Built-in docs for language features and system functions

Current Status

LunarBasic is still evolving. The current release is aimed at early adopters who want to explore the language, follow development, and help shape the tooling and documentation.

Join the community on Discord to follow progress and talk with other users.