Shooting Mechanics- Destroys Enemies Which Are In The Next Scene.

Discussion in 'How Can I...?' started by VishalV, Jan 5, 2017.

  1. VishalV

    VishalV Boxer

    Joined:
    Jan 5, 2017
    Messages:
    3
    Likes Received:
    0
    Hello Friends,

    I am trying to make a side scroller shooting which is similar to flappy birds style.

    After breaking my head for 1 day I was able to get my character shoot continuously without pressing button.

    Now I am facing another problem.

    Because of this permanent shooting the bullets also destroy the enemies which are in the second screen and not even in the game screen.

    I dont want the bullets to do destroy anything out of the screen

    Are there any solutions for this?

    Please help me out dear community :) thanks in advance.

    Sorry for the poor english :p
     
  2. VishalV

    VishalV Boxer

    Joined:
    Jan 5, 2017
    Messages:
    3
    Likes Received:
    0
    I got it working today.

    I just added another platform as an enemy with 9999999 health and connected it to the character.

    Its working now.

    Not sure if this was the right way to do it.
     

Share This Page