HTML5 Game Development
   
  • HOME
  • News
  • Tutorials
  • Engines
  • Demos
  • Tools
  • Partners
  • Mobile HTML Game
  • Guess The Celebrity
  • About us

IvanK Lib: a WebGL based HTML5 engine

IvanK Lib is a HTML5 Engine inspired by Flash (the tag line is actually “Like Flash, but faster” that uses the power of GPU accelerated WebGL to render 2d graphics on the screen.

Here’s a sample of the code from the graphics demo on the site:

<html>

<head>

     <script type="text/javascript" src="http://lib.ivank.net/ivank.js"></script>

     <script type="text/javascript">

          function Start()

          {

               var stage = new Stage("c");



               var sp = new Sprite();

               stage.addChild(sp);



               //	rectangles

               for(var i=0; i<50; i++)

               {

                    var color = Math.floor(Math.random()*0xffffff);

                    sp.graphics.beginFill(color, 0.6);

                    sp.graphics.drawRect(Math.random()*800, Math.random()*500, 70, 70);

               }



               //	line

               sp.graphics.lineStyle(2, 0xff0000);

               sp.graphics.moveTo(20, 20);

               sp.graphics.lineTo(400, 400);

          }

     </script>

</head>

<body onload="Start();"><canvas id="c"></canvas></body>

</html>

You can try a couple of projects made with the game below:

Share List

You might also find this interesting:


  1. Box2DJs: a 2D Javascript Physics Engine Box2Djs is a Javsacript port of the Actionscript port of the C++ 2D Physics Engine Box2D. It was ported form the action script using a automated script, so it shares...

  2. PXLoader – A JavaScript Preloader for HTML5 Apps PixelLab has released a JavaScript library to simplify the download of images, sound files and other various assets for HTML5 games called PxLoader. Here’s a basic example from the site:...

  3. DivSugar, a CSS-based 3D Graphics Engine DivSugar is a CSS3 based 3D graphics engine. While it's not as performant as a WebGL might be for full games, the fact that it uses CSS3 means that it can easily...

  4. Adobe Previews export to HTML5 from Flash professional As people have long anticipated, while Flash player may not be the future of Adobe’s mobile strategy, Adobe is working hard to keep Flash Professional as the tool for animators...

  5. Chrome now most popular browser in the world The king is dead, long live the king. According to statcounter.com, last week Chrome passed IE as the most popular browser in the world. And there was much rejoicing in...

HTML5 Engines

License HTML5 Games

Are you a company looking to license HTML5 games? We recommend MarketJS.com, a B2B platform for licensing games.

MarketJS has over 300 HTML5 games for licensing. They also provide additional services such as game reskin, custom development, and white label portals.

Html5 Game Development


Follow @GameDevHTML5



WHAT’S NEW

  • HTML5 Games in Guest Room Tablets

  • What’s New in Phaser 3.50

  • Particle and Sprite Editors in Babylon.js 4.2

  • Healthcare Industry HTML5 Games

  • Games for Events Example



NEW DEMOS

  • Vertical Endless Runner Prototype

  • Particle and Sprite Editors in Babylon.js 4.2

  • Song Maker in Google Experiment

  • Phaser 3 Experiment for Drawing Cards

  • HTML5 Game for a Recycling Campaign


ENGINES

  • Phaser 3 Game Object Pools Tutorial

    Memory allocation inside update loops often causes framerate problems in real-time gaming. One of the best solutions to this is to use Object Pools in Phaser 3. An Object Pool …Read more

  • Games During The COVID-19 Pandemic

    There so many effective ways to engage your audience with HTML5 games. Here is an example of how to run a game campaign to keep users motivated during difficult times. …Read more

  • Building Simulated 3D HTML5 Games With Phaser

    Phaser is commonly used as a 2D game engine for creating HTML5 desktop and mobile games. However, with the help of three.js and Phaser 3D library, you could render your …Read more

SEARCH OUR ARCHIVES

CONNECT

rss twitter

HTML5 Game Development is proudly run by 3P Solutions Inc

GOT NEWS?

Send new engines, demos, information and tips to hello@html5gamedevelopment.com

MONTHLY MEETUP

In boston? Join us for the Monthly HTML5 Game Development meetup.

BOOKS

We're in the process of writing a few books about game development. Coming soon!

Copyright HTML5gamedevelopment.com