frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

top down homing enemy

im making a game and first of all i dont even now how to make a enemy that just moves side to side on an up down platform and i need it to home on you

Comments

  • edited August 15
    Easy first you set a block and make it moveable, solid and affected by gravity.

    Now the code: 1.Always>number(any)>velocity(Forward).
    2. Collision(any type of chose from list)>flip(Toggle).


    that is it.


    how it works: well the "1." is moving side to side at any speed you put it and "2." is making it go back and forth coastally. The gravity will make it fall and the moveable make's it move
  • thanks if you want to be in that game to i can add you
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch