Forum rules - please read before posting.

NPC fade in/out

This is probably a Unity question more so than AC, but thought I'd check.
Is there a way using AC to have an NPC fade in/out. I'm looking to click on a hotspot and then have that activate an NPC to fade in next to the player.
Starting a new top down type of game (sort of like the app. used in Mansions of Madness board game).
I haven't found many instances of examples of NPC's or players being able to fade in/out.
Thanks again for any suggestions.

Unity version: 2021.3.21f1
AC version: 1.78.4

Comments

  • Is this for a 2D or 3D game?

    In 2D, you can either use the Object: Fade sprite Action, or control the sprite's Alpha colour channel through animation, and use the Character: Animate Action to play it back.

    In 3D, things are a bit more complex as you'd need a material/shader that has an "alpha" property that can control at runtime. This'd also depend on your render pipeline.

  • Thanks Chris. It is a 3D game and I was thinking it was probably something with the rendering. I will look into it. Thanks for your thoughts.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.