What is 🎯 Bullseye2D
Bullseye2D is a HTML5 game library for the Dart Progamming Language. It provides a simple and straightforward API, with a fast WebGL2 renderer. You can learn it in an evening and start making games right from the start.
Disclaimer: This is an alpha version of Bullseye2D.
I might introduce breaking API changes in the future.
Learn more about Bullseye2D
on our Homepage
Installation
1. Install Dart SDK
Ensure you have the Dart SDK installed. Here is a step by step guide to install Dart on your system:
2. Acitvate webdev
dart pub global activate webdev
3. Activate bullseye2d
dart pub global activate bullseye2d
Examples
To run the examples you have the clone the repository.
git clone git@github.com:bullseye2d/bullseye2d.git
cd bullseye2d
cd example
dart pub get
webdev serve
You can also enjoy the demos on our website.
You can have a look at the source code of the examples here.
Learning
Bullseye2D
comes with a comprehensive documentation. Read it online or use the following command to build the documentation and serve it locally on port 8080. Then open a browser on localhost:8080
to learn about Bullseye2D
or dive into the API Documentation.
bullseye2d docs --serve
Create a new Project
To start a new Bullseye2D
project, you can use the create command:
bullseye2d create ./hello_world
cd ./hello_world
webdev serve