Skip to content

arno06/Stage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stage

  • Stage
  • Container
  • Sprite
  • Bitmap
  • Spritesheet
  • FPSMeter
  • MouseEvent

Dependencies

  • Class
  • Event
  • M4

Samples

var domContainer = document.getElementById('stageParent');
var stage = new Stage(800, 600, domContainer);
var sprite = new Sprite();
sprite.beginFill("rgb(255, 0, 0)");
sprite.drawRectangle(-50, -50, 100, 100);
sprite.endFill();
sprite.x = 400;
sprite.y = 300;
stage.addChild(sprite);
stage.addChild(new FPS());

Check samples folder for more

About

canvas manipulation and more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published