Small codes

HTML5, Javascript and AS3

09/05/2012
by Frederic CHAPLIN
9 Comments

Tutorial: toggle fullscreen HTML5 canvas and other DOM elements

Here are some recipes I use to add a fullscreen feature to the HTML5 canvas tag in browsers. Firstly, I think we have to differentiate two concepts : browser fullscreen and in-browser fullscreen or full window. Browser fullscreen is activated … Continue reading

15/04/2012
by Frederic CHAPLIN
0 comments

Random hexagon map generation using HTML5 canvas and createJS

Hexagonal tiles maps with CreateJS This new set of posts will focus on hexagonal tiles map generation. The subject is broader than you might think. It may involve MVC architecture, random generation, pathfinding algorithms, implementation of biomes, management of user … Continue reading

22/01/2012
by Frederic CHAPLIN
0 comments

Discover EaselJS : HTML5 XML dynamics carrousel and dock menus

Today, I’ll just apply what I have shown in my previous posts to create advanced dynamics menus, with externalized in XML content. So I’ll create a Menu() class, which will take a Jquery loaded XML as parameter . This class … Continue reading

14/01/2012
by Frederic CHAPLIN
9 Comments

Discover EaselJS: OOP and complex objects creation

EaselJS can therefore reproduce in the HTML5 canvas some reflexes and work habits for developers coming from actionscript with a Stage object, a display list, and objects that fit into each other . For developers who are new to these … Continue reading

09/01/2012
by Frederic CHAPLIN
4 Comments

Discover easeljs: animation and display list

In the previous post, I told you why Easeljs is a good library to start with HTML5 canvas when you come from the “Flash world”, and I posted my first script, a “hello world”. This time, I’ll speed things up … Continue reading

Social Widgets powered by AB-WebLog.com.