Simple breathing animation

General development topics: using various Unity tools, publishing games, etc.
Post Reply
x_emoboy_x
Posts: 3
Joined: 21 Aug 2022 22:17

Simple breathing animation

Post by x_emoboy_x »

I have a simple breathing animation via scaling, is there any way to loop it? To play it during all dialogs, choices, etc.

Code:
@char Ann scale:,0.86 time:1
@char Ann scale:,0.9 time:1

idaot
support
Posts: 275
Joined: 01 Aug 2020 08:25

Re: Simple breathing animation

Post by idaot »

We don't recommend using naninovel commands for looping animations. We suggest using Layered characters for animations, as you can animate them however you want with Animator, for example.

https://naninovel.com/guide/characters. ... characters

x_emoboy_x
Posts: 3
Joined: 21 Aug 2022 22:17

Re: Simple breathing animation

Post by x_emoboy_x »

idaot wrote: 22 Aug 2022 06:53

We don't recommend using naninovel commands for looping animations. We suggest using Layered characters for animations, as you can animate them however you want with Animator, for example.

https://naninovel.com/guide/characters. ... characters

Thank you, solved the problem with @animate

x_emoboy_x
Posts: 3
Joined: 21 Aug 2022 22:17

Re: Simple breathing animation

Post by x_emoboy_x »

PS. I also tried the Layered character + Animator component, and it worked perfectly too!

Post Reply