How do I Make Multiple Projectiles from 1 player

0 favourites
  • 3 posts
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • Hi

    Im making a game where i need a player to be able to be able to touch a sprite, and shoot a certain weapon.

    Example: I touch fireball. then touch the screen, i want the fireball to shoot.

    So is there a way to change what weapon you are using by touching a certain sprite?

    It Cant interfere with the 2 player touch controls though.

    Thanks in advance!!

    EDIT: If the above is not possible, Would you be able to make it to where right when you touch the sprite, it shoots.

    Thanks again

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi,

    You make an ObjectPool class, which is a great start. However, you made it particular to Projectiles. A superior outline is for it to be bland so you can pool a wide range of things.

    In any case, you are making every one of the shots on startup. They are being situated and arranged at the same time taking into account the change of the article that you have the ObjectPool conduct on. That's why, they all are on the same position and terminating the same course.

    Thanks!!

  • Could you give an example of that? I'm still confused on the subject.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)