1 decade ago
by Eddie
Hey, what's up Impact community?
Let's hop right into it: I need some help (or better yet, advice) on how to go about implementing an idea I had.
HTML5 Interactive US Map, and I'm thinking about decomposing their JS to learn it, but I figured I'd ask for the help of fellow developer's help.
Any ideas? Thanks guys!
Seems like you need the functionality offered by
KineticJS.
Maybe take a look at this:
http://impactjs.com/forums/code/scaled-alpha-hitmask-plugin-intended-for-hit-detection-on-transparent-buttons.
Might get you going in the right direction.
1 decade ago
by Eddie
Hah! Thanks Graphikos, ironically enough I too eventually ended up at the Kinetic JS page and I believe that's what I'm gonna end up using.
I also appreciate you sending me to that forum thread, although that plugin is no good because I'm trying to do this on HTML overlayed on the Canvas Element, rather than doing it within Impact.
I appreciate the help, I'm pretty confident I will end up using KineticJS after all.
Thanks!
Oh, I missed that detail. However if you are going with Kinetic instead that's all canvas just like it would be in Impact. But Kinetic has done the work for you so probably better suited for your needs.
1 decade ago
by Eddie
Yeah, well, the thing Kinetic has that I feel like Impact has a harder time with is vector shapes. As you can see those "gems" are more complex polygons than primitives (squares and circles) and using a square collision box for rollover effects is no good. Kinetic has the ability to make shapes based on coordinate systems so I prefer that. Thanks dude!
Page 1 of 1
« first
« previous
next ›
last »