ATL animation + sound effect question (solved)
Posted: Mon Jul 11, 2016 8:05 am
Hi!
First of all I'm out of ideas how to solve this so I have a question - my guess is the answer is very simple again -
So here is a basic animation:
This works fine.
I would like to add sound effect to every time the pictures changes, so what and where I have to add?
this doesn't works, because it says: "Line is indented, but the preceding ATL statement does not expect a block. Please check this line's indentation.
play sound “effect.ogg”"
Any idea what to do? I read the tutorial for effects and ATL but I cant put this together. Or it is not possible?
First of all I'm out of ideas how to solve this so I have a question - my guess is the answer is very simple again -
So here is a basic animation:
Code: Select all
image anim:
"images/anim/a1.png"
pause 0.7
"images/anim/a2.png"
pause 0.7
"images/anim/a3.png"
pause 0.7
"images/anim/a4.png"
pause 0.7
I would like to add sound effect to every time the pictures changes, so what and where I have to add?
Code: Select all
"images/anim/a1.png"
play sound “effect.ogg”
pause 0.7
"images/anim/a2.png"
play sound “effect.ogg”
pause 0.7
play sound “effect.ogg”"
Any idea what to do? I read the tutorial for effects and ATL but I cant put this together. Or it is not possible?