version 2 of mouselook -- now you can assign something like shoot to a mouse click without trouble (i demonstrate this with a muzzle flash).
couple of things though --
i'd like the devs to add condition "compare mouseX" -- to get around this, i set a global variable to mouseX and compared that, but it seems like that should be unnecessary.
the only way i found to find the edge of the window was to use the window object, and i found that it included the border of the window.. which made things a tad more complicated. i wish it was easier to just find the edge of the gameplay area.
it's not perfect -- you can break it if you move the mouse extremely fast, but i'm not sure it's possible to fix that -- even great retail games like counter-strike suffer from this
edit: also, when i set mouseY to the same value every tick, it seems to cause some problems when moving the mouse right.
updated it with a more complicated way to restrict the mouseY that doesn't give you choppy movement at slow speeds. re-upped the choppy version with a comment. slowly move the mouse right to see the difference.