Crear texto que cambie a medida que pasa el tiempo?
Buenas, me explico:
Quiero crear un texto en una animación, por ejemplo, tEXTO 1, y quiero que a medida qué la animación avanza (en el mismo cuadro de texto) las palabras cambien a TEXTO 2, y al cabo del rato a TEXTO 3.
En definitiva, un texto cambiante durante toda la animación.
Hay alguna manera de hacerlo?
Un saludo y muchas gracias.
Crear texto que cambie a medida que pasa el tiempo?
Lo he conseguido con este script.
For i = 1 to 100 do
--
(
--time variables
sliderTime = i -- sets the slider time to i
-- these two set up two keyframe variables either side of the current time
ofTime1 = i-1
ofTime2 = i+1.
--Convert the current timeline position to a string
textString = currentTime as string
--removes the f from the end of the frame string
fLocat = findstring textString f
textStringNumber = replace textString fLocat 1 .
--creates a new text object with the frame number as its text value
newText = text text:textStringNumber.
--Extrudes by 10 (use any other modifier here)
addmodifier newText (extrude amount:10).
-- Scales the text up to 100% for a single frame (couldnt get visibility to work, but it might be less clumsy)
animate on
(
at time 0 (newText, scale = [0,0,0])
at time ofTime1 (newText, scale = [0,0,0])
at time i (newText, scale = [1,1,1])
at time ofTime2 (newText, scale = [0,0,0])
).
).
Crear texto que cambie a medida que pasa el tiempo?
Gracias por publicar tú mismo la respuesta, un saludo amigo.