Enemy off screen indicator, help!
![thelogobar](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Just watched @tshirtbooth's YouTube video for an off screen indicator to show the position of an actor, it works splendidly. But the video is designed for a single actor, I wanted to let a player know when an enemy was about to appear on the screen by using an marker. But the marker would change depending on the enemy type.
I tried using the same method as in the video, with individual attributes for each actor. Problem is when I have two of the same actor spawning at the same time you only see one indicator.
Has anyone got any ideas how I could do this? Thanks.
I tried using the same method as in the video, with individual attributes for each actor. Problem is when I have two of the same actor spawning at the same time you only see one indicator.
Has anyone got any ideas how I could do this? Thanks.
Best Answer
-
MotherHoose Posts: 2,456
@ thelogobar … try recycling the enemies … see @tshirtbooth video recycling bullets
add an enemyActor to the scene … you can change the name to the type of enemy
then add an indicatorActor … color; unlock; and use the Current Scene in the ExpressionEditor
to constrain its X to the enemy X … and colorAlpha changes should work the same
fun to play around with lots of random attributes for the enemy … ever time you move to the top offScreen location!MH