Projectiles Follow Player

Labyrinthine

Artist/ Developer
Veteran
Joined
Jun 23, 2014
Messages
454
Reaction score
403
First Language
Finnish
Primarily Uses
I would need to create an enemy shooting a projectile that follows the player. When hit by the projectile, the player would lose some health and the enemy would fire another projectile.


How can this be done?
 

st4rdust

Villager
Member
Joined
Jul 6, 2016
Messages
6
Reaction score
0
First Language
PT-BR
Primarily Uses
If the projectile is a event, click two times in it and set the movement of the event to follow the player. (It's the third option in the "Movement" thing) and set the event to trigger with "Event Touch"
It may do some weird movements tho
But if it's like a cutscene or something in which the player does not move, just set the movement to "Custom" (fourth option in the "Movement" thing) and make a movement route for it, then set it to trigger with "Event Touch"
 
Last edited by a moderator:

Labyrinthine

Artist/ Developer
Veteran
Joined
Jun 23, 2014
Messages
454
Reaction score
403
First Language
Finnish
Primarily Uses
Thanks :)  This was pretty obvious, though.. also, I had to use some player's/ event's X/Y stuff since the event had to have the through on.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,050
Members
137,571
Latest member
grr
Top