Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

2D Forcefield effect on gameObject

Discussion in 'General Graphics' started by BusyRobot, Jul 18, 2015.

  1. BusyRobot

    BusyRobot

    Joined:
    Feb 22, 2013
    Posts:
    148
    I'm working on a 2D pixel art platformer, and I want an effect for when my character get's "charged" up, he recharges his mana. I need some kind of like energy being given off around his outline, but I'm unsure how to do this. Just going in and drawing/animating it is not ideal as I would have to do it for all the different sets of animation there are, or I freeze the character and I don't want to do that either, so ideally it would be a coding effect. Any ideas?
     
  2. Jay2001

    Jay2001

    Joined:
    Dec 4, 2014
    Posts:
    19
    What do you mean given off? I think that you could maybe use a particle system, but, I'm sorta unsure of your question. Could you clarify?
     
  3. BusyRobot

    BusyRobot

    Joined:
    Feb 22, 2013
    Posts:
    148
    I can't really use Unity's particle system, because when I scroll the screen left/right etc the particles are all at different depths so they look all weird, the only way I found around that was to force each particle to the same Z but it's more trouble than it's worth so I roll my own particles.

    But to answer your question, kind of like an old school pixel 2d effect, like energy coming off the character as they get charged up, could also be a halo hoop type effect rising from the ground.