bullseye2d 1.0.1
bullseye2d: ^1.0.1 copied to clipboard
2D Game Engine for Dart
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 #
Use the following command to build the example/demo app and serve it on localhost:8080. NOTE: I'm still working on providing more complex examples. Stay tuned!
bullseye2d examples
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