|
|
Quellcode |
1 2 3 4 5 6 |
<action name="prog"> mul(prog_val,get(progress.progress),100); txtadd(prog_val,get(prog_val),%); trace(prog_val); <!-- should be replaced by an displaying process --> ifnot(progress.progress GE 1,delayedcall(0.03, prog() )); </action> |
,This sound strange... At the end of the progress process it should have a value of 1....
Zitat
I tryed with delayedcall, If fast internet then value of progress = 0 .......
...
...
Thank you for your appreciation
Zitat
Andrey, I take this occasion to tell you the great work you are making here... Keep the good job
...
,
...
Job1 do you have this working corrcetly using scenes? if so can you show the code you used to get it to work?
|
|
Quellcode |
1 2 3 4 5 6 7 |
<action name="prog"> mul(prog_val,get(progress.progress),100); roundval(prog_val); txtadd(prog_val,get(prog_val), % loaded); showtext(get(prog_val), infostyle); ifnot(progress.progress GE 1,delayedcall(0.01, prog() )); </action> |
|
|
Quellcode |
1 |
<scene name="accueil" onstart="prog(); playsound(acc, fontain.mp3,loops);"> |