spawned ennemy ?

neo_matrix31@hotmail.comneo_matrix31@hotmail.com Member Posts: 32
edited February 2014 in Working with GS (Mac)
hi,
about spawned enemy and timer ...
i need to display ennemy every 2 seconds ???
and it doesnt matter if the last ennemy is on screen or not ...
what i have to use ?
thanks

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Timer every 2 seconds
         Spawn actor
  • thanks for reply
    i add timer and spawner actor directly to ennemy actor
    or i have to create new element spawned actor referred to ennemy ?
  • i mean that ennemy display repetitif without waitint that last ennemy is out of screen
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited February 2014
    This should be in a separate actor which you can name "spawner":
    Timer every 2 seconds
         Spawn actor [enemy]
    i mean that ennemy display repetitif without waitint that last ennemy is out of screen
    I have no idea what this means.


  • for example
    i have scene
    ennemy move from left to right
    but i need others (same ennemy) moves from left to right ...

    when i create spawned actor ...
    the first ennemy is moving .... from left to right normally ... that ok
    but the second move (from left to right) but when the first is out of the screen

    i dont need this ... i need that the second move when the first is not out of the screen ...
    you mean ?
    http://fr.tinypic.com/view.php?pic=1055dg7&s=8
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Okay... if your enemy has a Move rule, it will move. Without seeing your rules, I can't think of any reason why your enemy actor wouldn't move. There is no built-in rule that says "only allow actors to move when they are alone on the scene."
  • solution?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    solution?
    Yes?
  • i just need to display a lot of ennemy ... moving from left to right ...
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited February 2014
    To quote INXS, "Words as weapons sharper than knives"... I don't think we're getting anywhere with words. Let's try visuals. Attached is a demo (made with Mac Creator).
  • i do same that your example ... but not work
    are there problems or some bugs on windows version ?
  • its okay .... thanks a lot ... excellent
    the problem was to change behaivior of prototype and instance actor :D
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Yay!

    Oh, and here's a Ms. Pac-Man version as a bonus. :)

    Just needs music, right @Socks?
  • really thanks for all
    here i begin to understand logic of gamesalad
    look that since 2 weeks i try to do simple game but nothing ...
    now begin to be fine and amazing
    thanks , i will go pro ;)
Sign In or Register to comment.