answersLogoWhite

0

To make Enemy go towards Player when in range.

For Enemy object: On step:

Execute Code:

if(point_distance(Enemy.x,Enemy.y,Player.x,Player.y)<RANGE)

{

move_towards_point(Enemy.x,Enemy.y,SPEED)

}

(Replace RANGE with the range and SPEED with the speed)

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What happens when a charged object is brought to another oppositely charged object?

When a charged object is brought close to another oppositely charged object, they will experience an attractive force due to the difference in charge. If they are allowed to come into contact, electrons will transfer from the negatively charged object to the positively charged object until they reach equilibrium in charge distribution. This transfer of electrons will neutralize the objects.


In the gift of magi What predictions did you make as you read the story Did your predictions come close to what actually happens Check your reading notes?

9+1,558=


Does MAGIX music maker 17 come with a microphone?

No. Magix Music Maker is software, and does not come with a microphone.


Does game maker's aprentice come with game maker pro?

no it comes with 7.0 lite


Will RPG maker ever come out with a mac version?

no no


Can gravity freeze?

Gravity is a force that acts upon an object. It can not "freeze". You can however, come very close to having zero gravity. This would be obtained in space.


When was Come Close created?

Come Close was created on 2002-11-05.


When was You Don't Come Close created?

You Don't Come Close was created in 1978.


How come a lighter object can exert more pressure towards the ground then a heavier object?

The pressure exerted by an object is determined by its weight and the area over which the weight is distributed. A lighter object can exert more pressure towards the ground if it has a smaller contact area with the ground, concentrating the force into a smaller area. In contrast, a heavier object with a larger contact area would distribute its weight over a wider area, resulting in less pressure per unit area.


Slipknot lyrics as you close your eyes you feel it all slipping away?

The song is called "Left Behind" !!!"And the lyrics are, As I close my eyes Ifeel it all slipping away."I've knownFaces that have disappeared in timeFind me wrapped in glass and slowly soaked in limeAll my friends have pictures made to make you cryI've seen this and wonderedWhat I've done to calcify...(I ignore you)As i close my eyes,I feel it all slipping away(i come towards you)We all got left behind,We let it all slip away(I ignore you)as i close my eyes,I feel it all slipping away(i come towards you)We all got left behind,We let it all slip awayI can't stand and seeYour thalidomide robot faceDon't even try it!You had to be a liar just toInfiltrate me-I'm still drowning!(I ignore you)As i close my eyes,I feel it all slipping away(I come towards you)We all got left behind,We let it all slip away(I ignore you)As i close my eyes,I feel it all slipping away(i come towards you)We all got left behind,We let it all slip awayTake this awayTake this awayI can feel it on my mouthI can taste you on my fingersI can hear you like the Holy GhostAnd kill you if you get too closeAs i close my eyes,I feel it all slipping away(i come towards you)We all got left behind,We let it all slip away(I ignore you)As i close my eyes,I feel it all slipping away(I come towards you)We all got left behind,We let it all slip awayWe let it all slip away (Repeated)4x


What windows movie maker has clip art?

None of them do. Windows Movie Maker programs do not come with integrated clips/clipart, etc.


When does Game maker 8.1 come out?

game maker 8.1 has all ready been realised you can get this by going on the YoYo games website.