How do I rotate 9path or use 9path image for a sprite

Get help using Construct 2

Post » Fri Dec 09, 2016 3:30 pm

Message: MisterAqua can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I have an ennemie which is attacking with his tongue. I use a 9 path object because i want resize the tongue to the distance between it and the target. But 9 path can rotate :( image a monster which can only fire at 0°

Can i make a the sprite instead and use an hidden 9 path to simulate the image

Example : https://mega.nz/#!rcElgTjQ!opx1GzzHY98L ... 2_5wfOlLDE
B
11
S
3
Posts: 25
Reputation: 1,105

Post » Fri Dec 09, 2016 4:36 pm

I'm not sure I understand, are you trying to make something like this?
https://drive.google.com/open?id=0B3l68 ... 19ldk5rYkk
B
6
S
2
G
2
Posts: 33
Reputation: 891

Post » Sat Dec 10, 2016 8:14 am

Im not at home for this week end so i cant open your capx . What i mean is how to rotate a 9path or rotate a sprite with a 9path image
B
11
S
3
Posts: 25
Reputation: 1,105

Post » Sat Dec 10, 2016 10:43 am

I don't think rotating a 9-path is possible. The capx I made simulates this though. So maybe that will solve your problem. Otherways. there is a plugin called "Canvas". I have never used it. but I think it can be used for this as well. Although I think that is very computer intensive, as it would require a copy-paste type of simulation every tick. Anyways. Take your time. <3
B
6
S
2
G
2
Posts: 33
Reputation: 891


Return to How do I....?

Who is online

Users browsing this forum: justifun, ksiads, R0J0hound, Yahoo [Bot] and 5 guests