How do I fire automatically

Get help using Construct 2

Post » Wed Sep 27, 2017 8:20 am

You have another game (that shooter from "Animation bug" post) where you have your turrets (enemies) turning towards player and shooting. Why don't you just do the same in your new game?
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :) If you'd like to hire me, please see this post
B
19
S
9
G
158
Posts: 2,381
Reputation: 84,389

Post » Wed Sep 27, 2017 11:54 am

B
7
S
2
Posts: 105
Reputation: 889

Post » Wed Sep 27, 2017 12:07 pm

the issue i am having is that rather than the enemy looking directly at me then firing it seems to spin past that point and fire from its side. i need it to face directly so when im setting up my towers they will will from the front when enemy is in LOS
B
7
S
2
Posts: 105
Reputation: 889

Post » Wed Sep 27, 2017 12:38 pm

Just turn your turret image. Not the sprite on the layout, but the image in the sprite itself. Gun should be pointed to the right.
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :) If you'd like to hire me, please see this post
B
19
S
9
G
158
Posts: 2,381
Reputation: 84,389

Post » Wed Sep 27, 2017 1:15 pm

i will give that a try. also. another animation issue. can you explain why this is happening?

so you click on the grey box and a turret will appear and then in range it will fire at the enemy. the enemy dies and the explosion begins but after that it goes all pissed. it doesn't disappear instead goes all over

https://drive.google.com/file/d/0B_wGtoNKF4qgaTZNQ3B0eFFlS3M/view?usp=sharing
B
7
S
2
Posts: 105
Reputation: 889

Post » Wed Sep 27, 2017 2:06 pm

Animation stops at the last frame. Now look at the last frame of your explosion animation..
Seriously, you should try to fix things like this yourself. You do silly mistakes and then ask other people to find them for you.
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :) If you'd like to hire me, please see this post
B
19
S
9
G
158
Posts: 2,381
Reputation: 84,389

Post » Wed Sep 27, 2017 4:20 pm

dop2000 wrote:Animation stops at the last frame. Now look at the last frame of your explosion animation..
Seriously, you should try to fix things like this yourself. You do silly mistakes and then ask other people to find them for you.


mate im new to c2. i usually use unity. im a stock market trader not a developer. wanted to give c2 a go so bear with me.
B
7
S
2
Posts: 105
Reputation: 889

Post » Wed Sep 27, 2017 5:20 pm

When you are asking questions to learn, that's one thing. But if something doesn't work as expected, you should at least make an effort to try to fix it yourself before posting here.
Those 2 last problems of yours were super easy to fix, they were very obvious and didn't require any more experience with C2 than you already have.
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :) If you'd like to hire me, please see this post
B
19
S
9
G
158
Posts: 2,381
Reputation: 84,389

Post » Sat Sep 30, 2017 11:56 am

omg i lost my shooter game. anyway i can recover this
B
7
S
2
Posts: 105
Reputation: 889

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests