Hi, the game I am making is a 2D platform shooter. I have a separate sprite for the gun so it points towards the mouse. I have it so that when the Player is mirrored the gun flips, but then the muse becomes inverted. Any idea how I can invert it again?
Could we have a little more explanation, or maybe a capx?
Here's the capx:
db.tt/bpUld9Yo
PS: It's WASD not the arrow keys.
<img src="smileys/smiley1.gif" border="0" align="middle" />
Easy fix, Instead of flipping the weapon, just mirror it. Don't change anything else. That fixes it nicely.
BTW making the cursor invisible is SO annoying. Just saying.
Still inverted. <img src="smileys/smiley5.gif" border="0" align="middle" />
dl.dropbox.com/u/41931267/gun%20mirror.capx
I think this fixes your problem... All I did was mirror instead of flip...
I'm getting an error when I try to open the capx, it's telling me that it was made in r87 yet I am in r84 and that is the newest version I can find.
Never mind, forgot about the beta builds. <img src="smileys/smiley17.gif" border="0" align="middle" /> Thanks SO much for you'r help!
Develop games in your browser. Powerful, performant & highly capable.
Glad I could help!
It has little bug when you mirror it shoots at backwards
there a fixed .capx that you shouldn't to worry it.
.capx
Thank you! I only just saw you'r post, I had been puzzle over that.