Install Bullseye2D
Set up Bullseye2D and start building amazing 2D games with Dart.
Installation Guide
Install Dart SDK
Ensure you have the Dart SDK (version 3.7.2 or higher) installed on your system. If not, download and install it from the official Dart website.
Get Dart SDKActivate Bullseye2D
The easiest way to get started is by activating Bullseye2D. This gives you access to the library core, examples, and development tools.
dart pub global activate bullseye2d
Create Your First Project
Bullseye2D includes a handy tool to quickly scaffold a new game project:
bullseye2d create my_awesome_game
This will create a new project folder named my_awesome_game. Navigate into your new project:
cd ./my_awesome_game
Run Your Game
Inside your new project directory, run on the web:
bullseye2d run web
Open your browser at http://localhost:8080 to see your game running!
Or run on desktop via SDL3:
bullseye2d run sdl3
Start Coding!
Congratulations! You're all set up. Open lib/game.dart in your favorite code editor and start crafting your game logic. Both web and desktop entry points share this file, so you write your game once and run it anywhere.
Happy game developing with Bullseye2D! 🎯