How do I make my sprite look at?

Get help using Construct 2

Post » Fri Dec 16, 2016 8:54 pm

hi i created a sprite for my game now i need to make him allways "look at" in direction of the user mouse, how to achieve that fx?
https://s23.postimg.org/s6ifhctzd/Droid_render_test_frames.jpg

Image
B
41
S
16
G
7
Posts: 1,747
Reputation: 9,957

Post » Fri Dec 16, 2016 11:13 pm

..............................Image
.........................Image


head8Pos.capx

---------------------------------------------------------------

.........................Image


head6Pos.capx
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Sat Dec 17, 2016 9:38 am

thanks i know 2 frames are missing that pictur was just an example for showing different views :D
B
41
S
16
G
7
Posts: 1,747
Reputation: 9,957

Post » Sat Dec 17, 2016 12:30 pm

can i add more frames than 9, for example can i add 20 frames or more?
B
41
S
16
G
7
Posts: 1,747
Reputation: 9,957

Post » Sat Dec 17, 2016 2:16 pm

you can use 9 or 21 or 361...
just import frames in this order:
Image



headVarPos.capx


Image
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Sat Dec 17, 2016 6:38 pm

Thanks a lot :D
B
41
S
16
G
7
Posts: 1,747
Reputation: 9,957


Return to How do I....?

Who is online

Users browsing this forum: plinkie and 7 guests