Spawning, moving, and destroy.

v00d0v00d0 Member Posts: 143
edited November -1 in Working with GS (Mac)
Hi guys, i'm writing here for the first time, i'm creating a new game and ive problem with the spawn and move.
i need to let the enemies spawn from edges, up, down left and right then they should go to the center and atk the target, anyone know a tutorial that explain something like this or someone can explain me how to do this??? i tried to spawn them with timers but it don't work well.

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Well what is the problem you are having. Spawning properly? Moving to the right place? destroying? All of the above?

    If its all of the above you really need to read through the entire wiki on this site as well as watch the cookbook videos and most of those problems can be solved.

    If its not all of that then please add to your explanation of what you are actually having trouble accomplishing
  • v00d0v00d0 Member Posts: 143
    i read, and watched some tutorials on youtube, but the problem is on how to say them to move to the center! and to sapwn at the correct position, cause i want them to spawn out of the scene and then move inside and i need to increase the spawn rate in the time that's my problem.
  • v00d0v00d0 Member Posts: 143
    OMG Thanks a lot m8!
  • v00d0v00d0 Member Posts: 143
    I wann ask you how u choosen the position number in bottom,left,right,top section. are those angle? pixel? thanks
  • v00d0v00d0 Member Posts: 143
    no one know how he chose the correct position? Thank
  • v00d0v00d0 Member Posts: 143
    y i understood that, but i don't know how. where can i check the x and y ??? there are a grid that can i put on, or something that enumerate my space???
  • v00d0v00d0 Member Posts: 143
    ohhhh well! didn't see the position thing inside the attributes. Thanks a lot for ur help guys!
  • AddAdd Member Posts: 10
    Hi. how can I spawn those actor from center to edges???
  • msonesmsones Inactive, Chef Emeritus Posts: 75
    Change spawn to be 240,160. Add a "move" behavior to the actor - direction should be random(0,359).
Sign In or Register to comment.