HTML and CSS Reference
In-Depth Information
Canvas Compared to Flash
We'vecoveredthistopicinearlierchapters,butweexpectthatalargeportionofreadersmight
havepreviouslydevelopedgamesinFlash.Ifso,youwillfindthatCanvasofferssimilarfunc-
tionality in certain areas, but lacks some of the more refined features of Flash.
No Flash timeline
There is no frame-based timeline for animation intrinsic to Canvas. This means that we
will need to code all of our animations using images and/or paths, and apply our own
frame-based updates.
No display list
FlashAS3offerstheverypowerfulideaofanobjectdisplaylist;adevelopercanaddhun-
dreds of individual physical display objects to the game screen. HTML5 Canvas has only
a single display object (the canvas itself).
Search WWH ::




Custom Search