How do I

Get help using Construct 2

Post » Mon Jul 18, 2016 4:15 pm

Based on the image below, how do I create a indicator to show where the enemy is going to fall before you see enemy on screen? (for example arrow in red)

https://www.dropbox.com/s/2k3pzjny81qsp ... 2.png?dl=0
B
19
S
4
G
1
Posts: 14
Reputation: 1,510

Post » Mon Jul 18, 2016 5:07 pm

You could actually do this in a lot of ways depending how your game is set up.

You could have a 'detector' sprite just above the window which, when an enemy enters it, spawns the arrow directly below on the screen before the enemy enters the screen.
Alternatively if you are spawning those enemies right above the window, you could simply spawn the arrow at the same time with the same X but a greater Y.
B
13
S
6
Posts: 130
Reputation: 1,553

Post » Mon Jul 18, 2016 7:22 pm

So... When enemy collides with another object ... spawn arrow at Player.X -, Player.Y - 100. Something like that...

Could I see the example so I can have a better a idea.
B
19
S
4
G
1
Posts: 14
Reputation: 1,510


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests