Sunday, February 5, 2012, 01:32 AM ( 2524 views )
- Posted by Administrator
With the canvas Object of HTML 5 you can do a lot thing. Here a Tetris example download it the sources codes is your !
permalink
| print article
| 








Thursday, January 1, 1970, 01:00 AM ( 2721 views )
Monday, January 30, 2012, 12:34 PM ( 2233 views )
- Posted by Administrator
Here a Tetris in Java Click here All the sources codes are in the jar file(open it like a zip file).
I am working on a nice tetris in javascript HTML5 an the canvas tag ... for soon
Monday, January 30, 2012, 04:25 AM ( 2136 views )
- Posted by Administrator
This is a small example of a canvas animation
Canvas
in HTML 5 is a powerfull tool. A lot of coders think it will
replace Adobe Flash ... We don't know but it is certainly the wish of
Apple.Here you will find a very simple example of its use. You can
download all the code here first add a canvas in your html. height="512" style=" background-color: black;border:1px solid #c3c3c3;"> var myctx = document.getElementById("myctx"); var ctx = myctx.getContext('2d'); Canvas object has the property "getContext ('2 d ');" which you can draw. intID=setInterval("Paint()",intervalTime); The event setInterval is the easiest way to make annimations. |