<div dir="ltr">I've done it, let's call it "santa3", it's amazing! :-) [you've made my day]<div><br></div><div>For the last point: yes!</div><div><br></div><div>Sandro</div><div><br></div><div>p.s.: look at the attachment.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 January 2018 at 18:56, Ingemar Ragnemalm <span dir="ltr"><<a href="mailto:ingemar@ragnemalm.se" target="_blank">ingemar@ragnemalm.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Thanks! The limitations in the sound playing are straight from JavaScript's Audio API. I think I know how to loop a sound, although the online advice are pretty confusing. For playing a sound multiple times, it seems I need to load it multiple times! Not very elegant but it can be done.<br>
<br>
The last point, is that when turning twice very fast?<br>
<br>
/Ingemar<br>
<br>
<br>
Den 2018-01-07 kl. 16:38, skrev Sandro Cumerlato:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Awesame work!:-)<br>
<br>
areas for improvement:<br>
<br>
in santa2<br>
- loop Jingle Bells.mp3 for an infinite pleasure;-)<br>
- play boing.mp3 multiple times in case of multiple keyboard hits.<br>
<br>
in snake:<br>
- avoid this:<a href="https://imagebin.ca/v/3nOH4webezqH" rel="noreferrer" target="_blank">https://imagebin.ca/v/3nO<wbr>H4webezqH</a><br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.or<wbr>g</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="noreferrer" target="_blank">http://lists.freepascal.org/cg<wbr>i-bin/mailman/listinfo/fpc-pas<wbr>cal</a></blockquote></div><br></div>