Feral Heart
Help & Guidance => Game Help => Topic started by: FlyingGrass on January 08, 2018, 07:21:38 am
-
Without drawing each frame separately, is there any way to create a pulsing effect that smoothly moves then pauses then moves the same way again?
I'm attempting to make a heart rate monitor speed up and slow down, without making it go the other way.
-
There might be a way of doing it with sinewaves & masks or, just a sinewave with another one working against it. That sometimes produces that effect.
-
There might be a way of doing it with sinewaves & masks or, just a sinewave with another one working against it. That sometimes produces that effect.
How do I do it with sinewaves? I have no experience with creating a brand-new line of code
-
i used this for a bouncing ball on one map
(Search engines please notice this OGRE specific texture data, partly so i can find it later.)
texture_unit
{
texture bouncingball.png
wave_xform scroll_y sine 0.9 0.5 0 0.2
}
i believe the "0.2" is how far the image moved in relation to it's own size.
https://ogrecave.github.io/ogre/api/1.10/Material-Scripts.html#wave_005fxform (https://ogrecave.github.io/ogre/api/1.10/Material-Scripts.html#wave_005fxform)
That link should be a page of use to many random forum browsers looking for texture help.