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
36
S
13
G
6
Posts: 1,648
Reputation: 8,823

Post » Fri Dec 16, 2016 11:13 pm

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


head8Pos.capx

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

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


head6Pos.capx
Image
B
64
S
23
G
7
Posts: 1,483
Reputation: 10,827

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
36
S
13
G
6
Posts: 1,648
Reputation: 8,823

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
36
S
13
G
6
Posts: 1,648
Reputation: 8,823

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
Image
B
64
S
23
G
7
Posts: 1,483
Reputation: 10,827

Post » Sat Dec 17, 2016 6:38 pm

Thanks a lot :D
B
36
S
13
G
6
Posts: 1,648
Reputation: 8,823


Return to How do I....?

Who is online

Users browsing this forum: imothep85, KTML5 and 9 guests