Closed
Bug 886826
Opened 11 years ago
Closed 9 years ago
Add chapter to the canvas tutorial about "Advanced animations"
Categories
(Developer Documentation Graveyard :: API: Miscellaneous, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sheppy, Assigned: fs)
References
Details
(Whiteboard: [DocArea=Canvas])
:: Developer Documentation Request Request Type: New Documentation Gecko Version: unspecified Technical Contact: :: Details We have a basic animations article (https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Canvas_tutorial/Basic_animations), but we need to follow it up with an article that covers more advanced techniques, so that we don't have to start the Basic animations article with text that basically says canvas isn't good for games and other high-performance animations. This article should cover things like requestAnimationFrame, optimization techniques, and other APIs that make it possible to make canvas animation fast.
Reporter | ||
Comment 1•11 years ago
|
||
From Hacks: https://hacks.mozilla.org/2013/05/optimizing-your-javascript-game-for-firefox-os/ Also, I suggest this URL for the new article: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Canvas_tutorial/Advanced_animations
Priority: P5 → P2
Reporter | ||
Comment 2•11 years ago
|
||
Also see: http://blog.safaribooksonline.com/2012/04/25/css-tricks-for-html5-canvas-games/
Assignee | ||
Updated•10 years ago
|
Assignee: eshepherd → fscholz
Component: General → API: Miscellaneous
Whiteboard: c=General u=webdev p=0 → [DocArea=Canvas]
Assignee | ||
Comment 3•9 years ago
|
||
The basic animations article uses requestAnimationFrame now (as recommend for any animation) https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Basic_animations An advanced animations article has been added to explain some physics like velocity, acceleration, boundary collision checks. https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Advanced_animations requestAnimationFrame and web games are also covered in this article in the game development zone: https://developer.mozilla.org/en-US/docs/Games/Techniques/Efficient_animation_for_web_games I'm calling this done.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•