Skip to content

zica39/ZICA.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZICA.js

ZICA.js - is an Open source Javascript framework for creating 2D games and apps.

Main features

  • Scene Management
  • Resource Management
  • Sprites, Tilemaps, Sprite Animations
  • Sound / Music handling
  • Input handling
  • Collision detection / Physics
  • Rendering Text
  • Rendering Video
  • Behavior (Animators) Management

Example

<html>
<head>
<script src = 'ZICA.js'></script>
</head>
<body>

<canvas id="myCanvas" width="400" height="400" style="border:1px solid #d3d3d3;"></canvas>
<script>
var canvas = document.getElementById("myCanvas");
const Game = new ZICA.GameRunner(canvas);

var scene = new ZICA.Scene();

var box  = new ZICA.Entity();
box.text = 'Box';
box.textColor = 'yellow';
box.color = 'white';
box.drawBorder = true;
box.addAnimator(new ZICA.AnimatorTopDownMovement({Speed:0.2}));
box.addAnimator(new ZICA.AnimatorRotation({Speed:0.2}));

scene.addEntity(box);
Game.addScene(scene);
Game.setActiveScene(scene);
Game.startApp();

</script>

</body>
</html>

Tests are found on the Github Page

Documentation

Demos

License

ZICA.js is licensed under the terms of the MIT License.

About

ZICA.js – JavaScript 2D game library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published