1.0.3 • Published 4 years ago

@steelydylan/atlasjs v1.0.3

Weekly downloads
1
License
MIT License
Repository
-
Last release
4 years ago

Atlas.js

==========

@steelydylan/atlasjs Dev Token

JavaScript Game Engine

Download

Documentation

Usage

<script src='Atlas.js'></script>
<canvas id="app"></canvas>
<script>
    window.onload = function(){
      var game = new Atlas.App("app"); 
      game.load("chara.png");
      game.setQuality(500,500);
      game.setSize(500,500);
      var sprite = new Atlas.Sprite("chara.png",32,32);
      sprite.setPosition(220,220)
      .animate([0,1,2],5).and().moveBy(0,50,30)
      .animate([6,7,8],5).and().moveBy(50,0,30)
      .animate([9,10,11],5).and().moveBy(0,-50,30)
      .animate([3,4,5],5).and().moveBy(-50,0,30)
      .loop();
		  game.addChild(sprite);
      game.start();
    }
</script>

Design

  • Compact
  • object-type

License

MIT License

Platform

  • Chrome
  • Safari
  • Firefox
  • IE9
  • iOS
  • Android 2.1+

Example

1.0.3

4 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.7.13

5 years ago