jfernandez / impact-fog

An Impact.js plugin that draws a fog of war on top of your game canvas
10 stars 1 forks source link

Fog drawing does not sit properly over map when maps are large or scrolled. #3

Open Joncom opened 11 years ago

Joncom commented 11 years ago

As far as I can tell, the plugin does not account for ig.game.screen.x or .y having a non-zero value. This means that the fog will be drawn onto the canvas exactly the same whether the map is scrolled by 0 or 1000.

jfernandez commented 11 years ago

@Joncom hm, Github didn't notify me about the two issues you opened. Sorry about getting back to you this late, but I'll take a look at this now.

Joncom commented 11 years ago

Haha, no problem! :)

On Thu, Sep 12, 2013 at 4:57 PM, Jose Fernandez notifications@github.comwrote:

@Joncom https://github.com/Joncom hm, Github didn't notify me about the two issues you opened. Sorry about getting back to you this late, but I'll take a look at this now.

— Reply to this email directly or view it on GitHubhttps://github.com/jfernandez/impact-fog/issues/3#issuecomment-24364684 .