Youssef E.H's Forum Posts

  • 6 posts
  • So when my character gets touched by a monster I want to move the character back to a position, like a respawn mechanic in a way. But when the character gets moved back it just continuing going diagonally and I can't control the character.

  • So I want to implement a simple health mechanic that when my monster comes in contact with the bullet from a gun it reduces its HP by 1 out of 10 for example. How would I go on doing that?

  • I'm still a bit confused, is there a tutorial out there that explain what I'm trying to do?

  • You do not have permission to view this post

  • I'm no master at this, but I would probably try:

    - giving the ghost the 'bullet behavior'

    - use that to set the ghosts speed

    - then, use on 'every tick' set the ghost direction to 'player x & y'

    - finally, on collision, destroy player 1

    Edit:

    I'm pretty sure this tutorial will have what you need.

    I got a different idea, how would I get the ghost to move from point A to B and repeat that movement?, sort of like a blockade. I feel like that would be less complicated for me

    Edit - Since the topic change Ill just start a new discussion. Thanks for the help from both of you

  • I want this ghost to attack my character by following him and touching him to kill him. How do I program it to move and follow him?

  • So I was following this tutorial on Youtube - youtube.com/watch , but he was creating a plat former but I was making a 2D shooter with tile movement so you can move around the map. With the tutorial he went clicked simulate platform behavior and it was working but with me I didn't know how to get it to work after that?

    So how do I create an (enemy) AI that would try to come after me with Tile movement?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • 6 posts