Quantcast
Channel: simonsarris - Latest Comments
Viewing all articles
Browse latest Browse all 193

Re: A Gentle Introduction to Making HTML5 Canvas Interactive

$
0
0

Thanks for the great tutorial, as you said in the intro you were thinking about adding collision detection. I'm trying to figure this out myself, is there anyway to get the x or y of specific drawn object?

I would think you could define a box to a variable, ( var foo = s.addShape(new Shape(40,40,50,50));) then call foo.x;

this does not seem to work. Any ideas? Thanks for the help.


Viewing all articles
Browse latest Browse all 193

Trending Articles