-
Notifications
You must be signed in to change notification settings - Fork 9
Introduction
DartRocket is a HTML5 Game Engine, which is written in Dart and uses the StageXL rendering engine. The main goal of this framework is to provide an easy to use solution for HTML5 game making with the Dart language.
DartRocket codebase is located in the lib folder and this folder also has more folders. I will talk about these folders in the lib, because to fully understand DartRocket, you need to know it's building blocks.
- Core
The core contains the main building parts of the game engine and it's job is to manage the flow of the game and to store your various resources like images and sounds.
- Gameobject
The gameobject contains the objects which you can make in the game with DartRocket. These objects are the basic building blocks of your game. These folder doesn't contain, but you can also create some StageXL objects like shapes.
- Physics
The physics contains the moving parts of the engine, which helps to move the game objects and also contains the collision detection between game objects. Actually this is a really simple physics engine.
- Input
The input folder only contains some helping functions for touch - and mouse events.
- Constants
The constants folder contains some basic direction and event constants.