If I have ui elements in a canvas that I want to be clickable - what is the best way to go about doing that? Do I need to create some kind of collision...
465
Richard Heyes
richard.heyes@...
Nov 12, 2008 5:48 pm
... You can: 1. Attach a function to the canvas onclick event 2. Get the mouse coords from the resultant event object. 3. Those, combined with some magic, will...
466
Richard Heyes
richard.heyes@...
Dec 5, 2008 11:45 am
Hi, Has anyone had any problem with using the rotate() method in conjunction with Opera? Eg: http://dev.rgraph.org/trash/tradar.html Works fine in Firefox,...
467
Philip Taylor
excors_y
Dec 5, 2008 2:15 pm
... It looks like the problem you're experiencing is that Opera applies transforms to paths when it's stroking/filling them, not when you're constructing the...
468
Erik Dahlström
erida539
Dec 5, 2008 2:45 pm
... Seems to work just fine in Opera 10. Cheers /Erik -- Erik Dahlstrom, Core Technology Developer, Opera Software Co-Chair, W3C SVG Working Group Personal...
469
Richard Heyes
richard.heyes@...
Dec 5, 2008 7:20 pm
... Hi, Really? I only have Opera 9.6 installed. I think I'll wait for this then instead of hacking (or fumbling...) around. Thanks Eric and Philip. -- Richard...
470
Richard Heyes
richard.heyes@...
Dec 15, 2008 11:00 am
Hi, I'm having severe trouble getting the mouse coords when a canvas is colicked on AND it's nested within a table. I've setup an example to illustrate the...
471
Jerason Banes
thewiirocks
Dec 15, 2008 1:55 pm
The Offset* APIs are based on the location relative to the parent element. You'll need to compute the offset by walking the DOM using "offsetParent". (Don't...
472
Richard Heyes
richard.heyes@...
Dec 15, 2008 4:16 pm
... Hi, That's what I was afraid of. Still, I've manged to do it (!): http://dev.rgraph.org/ Thank you! -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera...
473
Jerason Banes
thewiirocks
Dec 15, 2008 4:37 pm
Happy to be of service. :-) Thanks, Jerason...
474
Richard Heyes
richard.heyes@...
Dec 15, 2008 5:11 pm
... Hi, Seems I spoke too soon. Sorry for the noise. -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated December...
475
Richard Heyes
richard.heyes@...
Dec 29, 2008 5:38 pm
... For anyone that's interested I've now managed to get it working: http://dev.rgraph.org I used [event].offsetX/Y for Safari, Opera, MSIE and Chrome, and for...
476
Jerason Banes
thewiirocks
Dec 31, 2008 5:33 pm
Hey everyone! I just released a Canvas-based game through WiiCade.com. Thought everyone here might find it interesting: ...
477
Richard Heyes
richard.heyes@...
Jan 1, 2009 10:48 am
... Impressive. Takes me back to my Speccy days... :-) -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated...
478
Leonardo
sombriks_1
Jan 5, 2009 11:41 am
hey hey, nice work dude! hope grow up and become like you, ;) 2008/12/31 Jerason Banes <jbanes@...>...
479
Jerason Banes
thewiirocks
Jan 6, 2009 5:19 pm
Hi all! As many of you probably noticed from my recent message, I've managed to complete a very sophisticated Javascript game recently. In addition, I've been...
480
Leonardo
sombriks_1
Jan 6, 2009 5:26 pm
what about .war files? 2009/1/6 Jerason Banes <jbanes@...>...
481
Jerason Banes
thewiirocks
Jan 6, 2009 5:36 pm
As in Java Web Application Archives? Doesn't that seem a bit heavy-weight? WAR files would have to be deployed as complete Java applications on a ...
482
Leonardo
sombriks_1
Jan 6, 2009 5:49 pm
starting to understand.... since the real entry point for the javascript app remains some document, that document could have standart default information...
483
Jerason Banes
thewiirocks
Jan 6, 2009 5:59 pm
I think we're on the same wavelength here. I was also thinking something along the lines of a JAR for Javascript. Here's the RFC I posted on the WiiCade forums...
484
Jerason Banes
thewiirocks
Jan 6, 2009 6:11 pm
I think we're on the same wavelength here. I was also thinking something along the lines of a JAR for Javascript. Here's the RFC I posted on the WiiCade forums...
485
Leonardo
sombriks_1
Jan 6, 2009 6:32 pm
it's a good idea, the task seems very simple now: get the ".jzip"(this ahven't anme yet, right?) file, upack it, read metaconfig and open the main document. ...
486
Jerason Banes
thewiirocks
Jan 6, 2009 8:05 pm
... That's basically it! The devil is in the details, of course. What exactly will the meta-config tell the platform? Do we open the main document in an IFrame...
487
Jerason Banes
thewiirocks
Jan 12, 2009 5:48 am
FYI, for those of you who haven't seen it yet, there's a proof of concept for this idea located here: http://www.wiicade.com/JSDeployExample1/ Note that I have...
488
Richard Heyes
richard.heyes@...
Feb 6, 2009 11:58 am
Hi, Does anyone know if there's an ftell()-like function in the canvas API? Situation is that I want to draw an arc from the end point of a previous arc, but...
489
Richard Heyes
richard.heyes@...
Apr 14, 2009 3:40 pm
Hi, Haven't done any showing off recently, so here's a dollop: http://www.phpguru.org/article/a-html5-canvas-clock Very similar to the example I would imagine...
490
Richard Heyes
richard.heyes@...
May 11, 2009 6:35 pm
Hi, http://www.phpguru.org/dev/CanvasWars/game.html Dunno what the hell to do with it though, At the moment it's a "dodge the clouds" type thing... :-) -- ...
491
Richard Heyes
richard.heyes@...
May 31, 2009 7:31 pm
Hi, Is it too late to suggest additions to the canvas spec? And if not does any one know who the best person to suggest them to is? Like others I think I would...
492
Matthew Westcott
mmmgasman
May 31, 2009 8:06 pm
... That would be the WHATWG mailing list: http://www.whatwg.org/mailing-list#specs According to the FAQ, the editor of the HTML5 spec (of which canvas is a...
493
Richard Heyes
richard.heyes@...
Jun 1, 2009 11:37 am
Hi, ... Thanks for the pointer. ... Hmmm, I'll look at that - thanks. -- Richard Heyes HTML5 graphing: RGraph (www.rgraph.net - updated 23rd May) PHP mail:...