The Daily Click ::. Forums ::. Klik Coding Help ::. Shooting
 

Post Reply  Post Oekaki 
 

Posted By Message

Fish20



Registered
  03/12/2007
Points
  263

VIP MemberPS3 OwnerI like Aliens!I'm a Storm TrooperIt's-a me, Mario!I am an April FoolPicture Me This Round 48 Winner!
7th April, 2009 at 19:59:17 -

In my game an enemy shoots every 2 seconds. If the enemy is not in the visible playarea and the player scrools over to where the enmy is it shoot like 30 shots at once. How can i make it so the enemy only shoots if you can see them.

 
All your base are in another castle, take this.

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
7th April, 2009 at 20:07:51 -

Half of screen width > (Enemy X - Character X) > negative half of screen width.

But this sounds like something we'll need to see the source for.

 

  		
  		

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49567

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
7th April, 2009 at 20:29:57 -

Timer greater or equal to 2
NOT [ACTIVE] is getting closer than 5 pixels from windows edge
-Shoot stuff
-reset timer, or whatever

Edited by UrbanMonk

 
n/a
   

Post Reply



 



Advertisement

Worth A Click