Force enemys on screen?

Get help using Construct 2

Post » Fri Apr 20, 2012 12:45 pm

I'm creating an Asteroids clone and have an issue with the enemies.

When an enemy is created it's assigned a random angle. The sprites are set with WRAP so when they go off screen they come back on the other side. Problem is there's space just off screen that is still treated as part of the screen but the enemies aren't visable.

So, if the enemy is assigned, let say 90 degrees and is in this space off screen, it will continue to wrap around this 'channel' out of view of the player!

Is there a way to correct this? Can I reduce the size of this channel or is there some other ways to get around the issue.

Hope I've explained it well enough.

Here's my CAP. Ignore everything else, I'm learning and already know of better ways to do some of the things I've done but I need to get this right before moving one. Cheers for any help.

The CAP is 24 meg due to graphic animations, sorry about that :)
Posts: 208
Reputation: 3,985

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests