basic shooting game logic?

Discussion in 'Buildbox General Discussion' started by simonsaunders, Mar 9, 2016.

  1. simonsaunders

    simonsaunders Boxer

    Joined:
    Feb 17, 2016
    Messages:
    39
    Likes Received:
    2
    any tuts anywhere on this? cant find any..

    what logic do i need to apply to a Enemy when it gets shoot. trying to work out the logic of setting up ccharactersfor a simple shooting game
     
  2. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    What exactly are you wanting to happen?
     
  3. simonsaunders

    simonsaunders Boxer

    Joined:
    Feb 17, 2016
    Messages:
    39
    Likes Received:
    2
    hey heath, one character fires a shot at an enemy which triggers enemy exploding. simple. just need to know how to set up logic for character and enemy

     
  4. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    well.. there may be a couple ways to achieve that... but the simplest just may be to select that enemy bullet, and there is a dropdown menu to where you can select destroy character or destroy all.... all might kill that enemy for you and have it do an exploding death animation... give that a try first.. that's the most simple i can think of
     
  5. simonsaunders

    simonsaunders Boxer

    Joined:
    Feb 17, 2016
    Messages:
    39
    Likes Received:
    2
    is the shooting a element supposed to be a separate png? and you attach logic to that part?

     
  6. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    I just shot a video for you and how to achieve this but I don't have wifi, I'll have to upload it when I get home later tonight
     
  7. BossGames

    BossGames Boxer

    Joined:
    Jan 21, 2016
    Messages:
    62
    Likes Received:
    20
  8. simonsaunders

    simonsaunders Boxer

    Joined:
    Feb 17, 2016
    Messages:
    39
    Likes Received:
    2
    thanks but video is marked private. pls make public.
     
  9. BossGames

    BossGames Boxer

    Joined:
    Jan 21, 2016
    Messages:
    62
    Likes Received:
    20
  10. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    @simonsaunders hope this helps... if you give the physics objects random velocities they will scatter, have a play with that... or use a sequential .png animation

     
  11. simonsaunders

    simonsaunders Boxer

    Joined:
    Feb 17, 2016
    Messages:
    39
    Likes Received:
    2
    @heathclose - really appreciate that, thanks, thats all i needed :)
     

Share This Page