simplegamelib 0.0.1 copy "simplegamelib: ^0.0.1" to clipboard
simplegamelib: ^0.0.1 copied to clipboard

outdatedDart 1 only

An easy to use package for 2D games.

simplegamelib #

Heads Up - this is a very early release!

An easy to use package for 2D games. It is going to be awesome.

Usage #

A simple usage example:

import 'dart:html';
import 'package:simplegamelib/simplegamelib.dart';

void main() {
  Game game = new Game("My Game", '#surface');
  Sprite player = game.createSprite("images/ninjadude.png");

  player
    ..position = new Point(0, 10)
    ..movement = Movements.east;
  print('starting game...');

  game.start();
}

Features and bugs #

Github : TODO

To run unit tests. #

pub run test .\test\simplegamelib_test.dart -p dartium

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

An easy to use package for 2D games.

Homepage

License

unknown (LICENSE)

More

Packages that depend on simplegamelib