W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2009

[whatwg] Canvas extensions from opera-2dgame

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 3 Jun 2009 22:47:23 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0906032245170.16244@hixie.dreamhostps.com>
On Thu, 4 Jun 2009, Jo?o Eiras wrote:
> 
> The opera-2dgame context also has APIs for collision detection and control
> painting
> http://my.opera.com/WebApplications/blog/show.dml/200788
> I'm not familiar with the current canvas spec, but are these features
> supported somehow? Or would they have the potential to be included ?

The collision detection is basically the same as isPointInPath(), already 
in HTML5, and the locking is implicit in most <canvas> implementations (it 
only repaints in between script executions, and this is actually called 
out in HTML5 as the right thing to do), so I don't think there's anything 
to add from 2dgame at this point.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 3 June 2009 15:47:23 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:12 UTC