How do I always upright enemy?

Get help using Construct 2

Post » Sun Jul 31, 2016 11:50 am

Hello forums, I had found the answer to this question the other night but now cannot seem to find the link. In my game enemies chase down the players villagers in a top down perspective tap action,rogue rts style game. I would to know how i can make an object move towards another object without changing the angle of its motion. in the game you can summon knights to chase down monsters.The sprite will turn upside down and this doesn't look right .I would like for the knights image to stay upright no matter what direction it is moving.
http://www.kongregate.com/games/Legenda ... e-defender also please try my game!I am looking for feed back to help get the game ready for an app market release.
Thank you!
B
11
S
1
Posts: 57
Reputation: 664

Post » Sun Jul 31, 2016 12:07 pm

I suppose you move them with a behavior. Most behaviors have a propertie that dont allow them to change the angle.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Sun Jul 31, 2016 7:41 pm

nope,using bullet to move and turning of the angle doesnt work
B
11
S
1
Posts: 57
Reputation: 664

Post » Sun Jul 31, 2016 9:54 pm

Works flawless:

https://www.dropbox.com/s/amnlo2ffswuj9 ... .capx?dl=0

Pure awsomeness.
You must be changing the angle somewhere else.

Alternative: use a 'helperobject' and pin the sprite on it (only position) as a cosmetic surface.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Mon Aug 01, 2016 8:37 am

https://blogs.msdn.microsoft.com/mschra ... ot-rotate/

This is the link i was looking for with the solution I needed but ty for trying

http://www.kongregate.com/games/Legenda ... e-defender

now I can use the 7 souls monsters
B
11
S
1
Posts: 57
Reputation: 664

Post » Mon Aug 01, 2016 9:10 am

Nice, it is exactly what i said.

"As part of the Hunters bullet property sure to set the Hunters Set angle to no."

Against

"I suppose you move them with a behavior. Most behaviors have a propertie that dont allow them to change the angle."
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: KTML5 and 25 guests