How to stop Turrets from rotating?

Get help using Construct 2

Post » Wed Aug 21, 2013 4:36 am

Hi everyone,

I am creating a Tower Defence game and I am trying to stop the towers from rotating. However, when I turn off the 'rotate' option, the towers do not acquire and shoot the targets. I have searched the forum but am unable to find anything that's similar. Does anyone know how to stop the towers from rotating while shooting targets?

B
11
S
2
Posts: 22
Reputation: 778

Post » Wed Aug 21, 2013 9:39 am

Pretty sure the turrets are programmed to shoot once there alignment vector hits the target, if it cant rotate than it has to wait for the target to roam in front of its vector.

If its not shooting even then i would try slowing the target down a lot and see if it works.
B
6
S
1
G
1
Posts: 14
Reputation: 453

Post » Wed Aug 21, 2013 9:43 am

I thought the whole point of turrets would be to rotate?

Wouldn't it be much easier to make a static sprite that spawns a bullet when certain conditions are met?
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 » Wed Aug 21, 2013 9:51 am

[QUOTE=LittleStain] I thought the whole point of turrets would be to rotate?

Wouldn't it be much easier to make a static sprite that spawns a bullet when certain conditions are met?[/QUOTE]

Well if you have a turret and they have some way to get damaged, it would be possible if damaged enough, the ability to rotate could be hindered.. this is all just speculation however...
B
6
S
1
G
1
Posts: 14
Reputation: 453

Post » Wed Aug 21, 2013 9:58 am

@Nvenom, if that is what the topicstarter is trying to accomplish, I'd still recommend destroying the turret at that time and replacing it with a sprite that spawns bullets.. (much better way in my opinion to get the turret going crazy effect as well)
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 » Wed Aug 21, 2013 2:34 pm

Hey everyone, thanks for your suggestions! I decided instead of trying to stop the turrets from rotating, I made them invisible and added a sprite on top of each turret. It works just fine.
B
11
S
2
Posts: 22
Reputation: 778


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 19 guests