Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Particle system 2D games for hit

Discussion in '2D' started by jfu007, Jun 13, 2018.

  1. jfu007

    jfu007

    Joined:
    May 30, 2018
    Posts:
    7
    Hello,

    I have a question some games have rpg fight system like :

    1 or more players versus lot ennemis in battle turn system like final fantasy and other

    My question is i know how instantiate a sprite effect in 2D but how i can do same with particles when raycast hit target : instantiate at target position for sample for a spellcast ground attack. And how do same thing but for area of effect raycast with same condition ? instantiate for sample a big thunder fire attack or many fire attack ?

    I search on google and other , never see a tutorial for explain this in 2D.

    Picture for illustrate


    Thanks for your help
     
    Last edited: Jun 15, 2018
  2. jfu007

    jfu007

    Joined:
    May 30, 2018
    Posts:
    7
    No one can help me ?
     
  3. jfu007

    jfu007

    Joined:
    May 30, 2018
    Posts:
    7
    So no one ?
     
  4. Wolk

    Wolk

    Joined:
    Jul 12, 2014
    Posts:
    59
    Your English is barely understandable.
    Instantiate a prefab with the particle system at the location, that would be the easiest way.