Yesterday I implemented a car scene with a tremble effect I found to create a movement illusion.
The fx code I found was the following:
Code: Select all
init:
transform my_shake:
linear 0.1 xoffset -3 yoffset 3
linear 0.1 xoffset 4 yoffset -4
linear 0.1 xoffset 2 yoffset -2
linear 0.1 xoffset -3 yoffset 3
linear 0.1 xoffset 0 yoffset 0
repeat
Code: Select all
label capitulo2:
scene black with Dissolve(4.0)
play music "music_sad.ogg" fadeout 1.0 fadein 8.0
play audio "audio_rain.ogg"
scene bg_policestation at my_shake
show victoria worried car at my_shake
show reilly normalcar at my_shake
show parabrisas at my_shake
show rain
md "{i}Y aquí estoy, en la puerta de la comisaría esperando a Victoria bajo la lluvia. Dios...debería estar cenando con Charlenne.{/i}"
md "{i}¿Es que Dios me odia?{/i}"
Since I charged everything more or less at the same time, the shake fx has the same timing for everything and it looks fine.
The problem is when I add a new expression, let's say:
Code: Select all
md "{i}Y aquí estoy, en la puerta de la comisaría esperando a Victoria bajo la lluvia. Dios...debería estar cenando con Charlenne.{/i}"
show reilly madcar at my_shake
md "{i}¿Es que Dios me odia?{/i}"
The horrible solution I found is initialization all the scene elements each time I change the expression, which is not very elegant and even may cause performance issues (I really don't know)
Code: Select all
md "{i}Y aquí estoy, en la puerta de la comisaría esperando a Victoria bajo la lluvia. Dios...debería estar cenando con Charlenne.{/i}"
scene bg_policestation at my_shake
show victoria worried car at my_shake
show reilly madcar at my_shake
show parabrisas at my_shake
show rain
md "{i}¿Es que Dios me odia?{/i}"
md "{i}Pero da igual...Algo en mi me i
Do you have any idea to solve this??