How do I make 2D Mouse follow & °

Get help using Construct 2

Post » Sat May 16, 2015 3:10 pm

Hey man thanks for responding :) Yes I did 3rd building making a second layout now :) but i need help with the character to aim wherever the mouse is so basically I want him not to aim higher then 70* (top)and not to aim lower then 30*.

See the .capx .upload.ee/files/4727180/MY_PRACTISE_SHOOT_360.capx.html
B
8
S
3
Posts: 120
Reputation: 989

Post » Sat May 16, 2015 3:20 pm

Oh ye and I have no clue why this happens please explain someone :D Thank you!
The arm is more to the right when I mirror my character?
Image
B
8
S
3
Posts: 120
Reputation: 989

Post » Sat May 16, 2015 3:23 pm

I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat May 16, 2015 3:35 pm



I myself would actually go for setting the arm mirrored, instead of using an animation to mirror it..
Also regarding your question above, it might be nescessary when mirroring to upin, reallign and repin..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat May 16, 2015 3:50 pm

Ahh ye that is it ..! Oh you did a hell of a job there (conditions)!

Thank you everyone! Now I can see what i did wrong ...
B
8
S
3
Posts: 120
Reputation: 989

Post » Sat May 16, 2015 3:57 pm

I did the animation mirror hand as I didn't know what to do so I panicked.. :D

So you mean Un-pining the hand when mirror and pin it back again put to the other position?
B
8
S
3
Posts: 120
Reputation: 989

Post » Sun May 17, 2015 10:53 pm

Hey @LittleStain is there a way creating when mouse is more to the left (not-mirror-Player) if mouse is more to the right (mirror-Player) Because when I stand facing left and look up the character aims up but when I press button(D) it mirrors the player but the weapon instantly facing the ground... Is there any way to avoid that?
B
8
S
3
Posts: 120
Reputation: 989

Post » Mon May 18, 2015 7:42 am

There are many ways, just add the conditions you want..
Comparing mouse.x with player.x tells you where the mouse is compared to the player..
But something like this would work too:

https://dl.dropboxusercontent.com/u/485 ... -back.capx
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Previous

Return to How do I....?

Who is online

Users browsing this forum: vendara and 7 guests