1.1.7 • Published 9 years ago

wozlla.js v1.1.7

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

WOZLLA.js

WOZLLA.js is a JavaScript/TypeScript 2D Game Engine, it aims to provide a complete solution for HTML5 games creation. It uses WebGL for 2D rendering and is NOT compatible with Canvas2D.

Getting Started

// create director and start main loop
var director = new WOZLLA.Director(document.getElementById('canvas'));
director.start();

// new a GameObject
var gameObj = new WOZLLA.GameObject();
// create a sprite renderer
var spriteRenderer = new WOZLLA.component.SpriteRenderer();
// set image src
spriteRenderer.imageSrc = 'images/panda.png';
// add to gameObj
gameObj.addComponent(spriteRenderer);

// this would automatically load all assets of gameObj, children and children's children.
gameObj.loadAssets(function() {
    // init gameObj
    gameObj.init();
    // add to stage
    director.stage.addChild(gameObj);
});

Core Architecture

Architecture

Current Features

Version 1.0 (Released)

  • WebGL Rendering
  • GameObject and Component
  • Transform and Tween
  • Event System
  • Touch Input
  • Graphics: Sprite/NinePatch/Mask
  • Animation: DragonBones
  • UI widget: Button/CheckBox
  • Automatically Assets Management

API References

API References

Change Logs

  • add ScrollRect

  • Version 1.0 (Released)

  • add AnimationRenderer
  • add simple primitives: RectRenderer, CircleRenderer
  • add TextRenderer
  • add a base class: CanvasRenderer
  • Auto Assets Management

  • Version 0.5.1 (Released)

RoadMap

Version 1.5

  • Stability Optimization
  • Sound System
  • More UI components

Version 2.0

  • Enhance the JSON file of GameObject structure, so users could simply build a GameObject tree with JSON files.
  • Provide an Editor for visual editing

Bug Reporting

Please report issues with as much info as possible.

Thanks

The parts of technologies WOZLLA.js using was learn from the following libraries:

MIT License

The MIT License (MIT)

Copyright (c) 2014-2015 Wozlla

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

1.1.7

9 years ago

1.1.6

9 years ago

1.1.5

9 years ago

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago