Off screen indicator arrow problem

Get help using Construct 2

Post » Fri Jun 07, 2013 9:20 pm

Hi!

I tried to search the forums for "off screen arrow" etc. With no luck, though..

I have two (in future even more) indicators that are pointing to each target/enemy. They should only point to, and be visible, when an instance is off screen. But in my sample capx the indicators are visible, no matter what..

Give me some hint/pointer on what is wrong with the capx.. (as it would be nice to figure this out myself)

Thanks!


JustDropIt.capxchef2013-06-08 05:15:14
B
10
S
3
Posts: 27
Reputation: 1,381

Post » Fri Jun 07, 2013 10:57 pm

if instance pointing to onsreenObject destroy or set opacity to 0.

I can't open the capx because i have a missing plugin it seems. So can't help beyong this point :s.
B
9
S
3
G
3
Posts: 70
Reputation: 1,990

Post » Fri Jun 07, 2013 11:22 pm

you could try using a radar instead, youl find a link bellow
it will show you where enemies are around the layout in a small erea
B
41
S
11
G
7
Posts: 514
Reputation: 9,706

Post » Sat Jun 08, 2013 5:14 am

Oh, silly me! I updated the capx in the first post, so that it (i think) uses no third party plugins.. Also simplified it to only one event sheet..

I tried to set a boolean for the "target is on screen". Well, that didn't work.. I'll check the radar thing out as soon as I get the time. Maybe I'll be able to dig something out from it!
B
10
S
3
Posts: 27
Reputation: 1,381

Post » Sat Jul 20, 2013 2:51 am

I had no luck with the radar but ill look at your capx and compare
B
20
S
4
G
1
Posts: 39
Reputation: 1,495

Post » Sat Jul 20, 2013 3:24 am

JustDropIt2_BHT

I think this is what you wanted.
ImageImageImage
B
71
S
22
G
257
Posts: 3,791
Reputation: 142,698

Post » Sat Jul 20, 2013 6:34 am

[QUOTE=blackhornet] http://blackhornettechnologies.com/Construct2Stuff/JustDropIt2_BHT.capx

I think this is what you wanted.[/QUOTE]

Ya i think that works. Thanks for sharing. Hope it works Chef.
B
20
S
4
G
1
Posts: 39
Reputation: 1,495

Post » Mon Jul 22, 2013 6:51 am

Well Well.. I had already forgotten this project But that is exactly what I was looking for. Thank you very much!! Scirra community rules, baby!!
B
10
S
3
Posts: 27
Reputation: 1,381

Post » Tue Jul 23, 2013 3:14 am

Now you can get back into gear.
B
20
S
4
G
1
Posts: 39
Reputation: 1,495


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests