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

outdatedDart 1 only

An easy to use package for 2D HTML5 Canvas games.

simplegamelib #

Heads Up - this is a very early release!

Build Status

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 : https://github.com/daftspaniel/simplegamelib

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 HTML5 Canvas games.

Homepage

License

unknown (LICENSE)

Dependencies

test

More

Packages that depend on simplegamelib