Invert Mouse Movement

Get help using Construct 2

Post » Sat Apr 21, 2012 1:08 pm

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?
B
4
Posts: 6
Reputation: 393

Post » Sat Apr 21, 2012 5:12 pm

Could we have a little more explanation, or maybe a capx?
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sat Apr 21, 2012 6:07 pm

Here's the capx:
http://db.tt/bpUld9Yo
PS: It's WASD not the arrow keys.
B
4
Posts: 6
Reputation: 393

Post » Sat Apr 21, 2012 6:25 pm

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.sqiddster2012-04-21 18:26:41
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sat Apr 21, 2012 6:31 pm

Still inverted.
B
4
Posts: 6
Reputation: 393

Post » Sat Apr 21, 2012 7:02 pm

http://dl.dropbox.com/u/41931267/gun%20mirror.capx

I think this fixes your problem... All I did was mirror instead of flip...
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sat Apr 21, 2012 7:14 pm

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.
B
4
Posts: 6
Reputation: 393

Post » Sat Apr 21, 2012 8:30 pm

[QUOTE=Dimitri2012] 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. [/QUOTE]
Never mind, forgot about the beta builds. Thanks SO much for you'r help!Dimitri20122012-04-21 20:45:02
B
4
Posts: 6
Reputation: 393

Post » Sat Apr 21, 2012 10:08 pm

Glad I could help!
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sat Apr 21, 2012 11:56 pm

It has little bug when you mirror it shoots at backwards

there a fixed .capx that you shouldn't to worry it.

.capx
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests