Tetris clones? Shootemups? Minesweeper? Dig out those old javascript games or lurk around the flash games sites and find something you think would make a...
93
canvasgame
Jan 2, 2006 9:13 am
I have worked out how to create your own custom contexts. My code is very robust, it makes no variable pollution as everything is local to an anonymous...
94
canvasgame
Jan 2, 2006 10:09 am
Image distortion (skew), check it out, needs some kind of fix for extreme angles as it kind of messes up, and you cant rotate more than 90 degrees or inverted...
95
Christopher Clay
c3oorg
Jan 3, 2006 5:13 pm
Can anyone explain why the image gets progressively darker when copied back and forth between two canvases in Firefox 1.5 final, or is that a bug? Opera acts...
96
Will Fitzgerald
skimpybiscuit
Jan 3, 2006 6:16 pm
I've implemented a first version of a draggable, zoomable map, using a canvas and drawImage. The basic idea is to use a relatively high-resolution map which...
97
Christopher Clay
c3oorg
Jan 3, 2006 7:12 pm
Hi Will, Looks nice-- but I do have to wonder if canvas is the right tech for something like this. Especially for maps, nicely zoomable SVG seems to be the...
98
Laophin
linhir_sdk
Jan 4, 2006 11:56 am
Hi, it's a week i'm studying canvas tag, i'm java programmer. I'm doing a business project designer using canvas. I' ve to draw flow charts using canvas,...
99
skimpybiscuit
Jan 4, 2006 12:02 pm
... Well, yes -- placing icons on the map and (in particular) drawing path lines among them. Will...
100
Andrew
triptych999
Jan 4, 2006 3:23 pm
You might find this of some help: http://www.liquidx.net/canvasgraphjs/...
101
canvasgame
Jan 5, 2006 4:39 pm
Instead of further working on the origional canvascape code I am restarting from the bottom up with a new infrastructure that will alow maps as complex as...
102
canvasgame
Jan 5, 2006 5:35 pm
The comma in the link provided was unintentional, here is the correct address: http://www.abrahamjoffe.com.au/ben/canvascape/3d2.htm...
103
Andrew
triptych999
Jan 6, 2006 6:55 pm
I think this is very cool! I especially like the idea of drawing routes and other elements on top of the map. -Andrew ... path lines among them....
104
Andrew
triptych999
Jan 7, 2006 5:19 pm
This is a great start! I've heard that when the curvature is too great it has something to do with the horizon setting being too close? Not sure if that's...
105
Andrew
triptych999
Jan 9, 2006 5:54 pm
I've been having some serious fun creating this little roguelike game and I wanted to post a quick update here: ...
106
Andrew
triptych999
Jan 10, 2006 1:17 am
Hedger Wang has created a nifty clock widget using canvas in FF and vml in IE: http://www.hedgerwow.com/360/dhtml/ui_clock/demo.html and it even degrades...
107
kjorn
Jan 11, 2006 1:22 pm
Hi, Is there a nimple way of tracking the mouse x,y position relative to the canvas pos. The painting demos I have seen all hard code the canvas tag to an x y...
108
Arve Bersvendsen
arveb@...
Jan 11, 2006 2:37 pm
... The only standard DOM method you have at your disposal is MouseEvent.clientX and MouseEvent.clientY, which are the mouse positions relative to the...
109
kjorn
Jan 11, 2006 4:41 pm
... canvas ... Here is what I managed to code using your example: http://teethgrinder.co.uk/canvas/mouse-pos.html I tried your sample code but it does not seem...
110
Arve Bersvendsen
arveb@...
Jan 11, 2006 5:11 pm
... I haven't been able to determine why FF's values are so much off, but have a look at my example here: ...
111
Dave Hoover
redsquirreld...
Jan 11, 2006 5:42 pm
... In my canvas experiment, I use the offsets of the canvas to adjust the clientX and clientY of the mouse event. View source on the following link and...
112
Christopher Clay
c3oorg
Jan 11, 2006 6:03 pm
... No, this is because you have nested positioned elements on that page, and offsetTop/Left work in relation to the next positioned ancestor (just like CSS's...
113
kjorn
Jan 11, 2006 7:52 pm
... Thanks, this works fine! I guess cacheing the offsets will make everything work a bit faster. ... What we need is a 'canvas.getMousePos()' method or...
114
canvasgame
Jan 12, 2006 7:51 am
... Here is a page I just created which demonstrates (I think) what you are after: http://www.random.abrahamjoffe.com.au/public/JavaScripts/preload.htm ...
115
Arve Bersvendsen
arveb@...
Jan 12, 2006 10:04 am
... Browsers will raise onload and onerror events when images are loaded, you can use this to determine how much has loaded. A simple example on how to use...
116
kjorn
Jan 12, 2006 10:25 am
... Sorry, I should have made myself clearer. I was wondering if I could figure out how much of a single image had downloaded every 0.25 of a second. E.g: 25%...
117
Andrew
triptych999
Jan 12, 2006 3:38 pm
For that level of access to the streams you'll probably have to live in a browser extension. I know that the Yahoo Image uploader does that kind of progress...
118
Andrew
triptych999
Jan 12, 2006 5:52 pm
Gad, I meant to say Benjamin. That's what I get when I post before my morning caffeine.... Apologies to Benjamin! -Andrew...
119
Andrew
triptych999
Jan 12, 2006 6:00 pm
I've seen several data: url creation programs as well as several websites which do it as well - but what's interesting is that some seem to be "better" than...
120
canvasgame
Jan 13, 2006 6:49 am
... I assume that you are uploading something like a bitmap and receiving perhaps a jpeg or png from the page? If you convert the image into the desired file...
121
Andrew
triptych999
Jan 14, 2006 12:28 am
Next week's challenge involves creating something that draws something to canvas after the page is loaded. For example dynamic server stats, or a slideshow...