I've done it, let's call it "santa3", it's amazing! :-) [you've made my day]
For the last point: yes! Sandro p.s.: look at the attachment. On 7 January 2018 at 18:56, Ingemar Ragnemalm <inge...@ragnemalm.se> wrote: > > 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. > > The last point, is that when turning twice very fast? > > /Ingemar > > > Den 2018-01-07 kl. 16:38, skrev Sandro Cumerlato: > >> Awesame work!:-) >> >> areas for improvement: >> >> in santa2 >> - loop Jingle Bells.mp3 for an infinite pleasure;-) >> - play boing.mp3 multiple times in case of multiple keyboard hits. >> >> in snake: >> - avoid this:https://imagebin.ca/v/3nOH4webezqH >> > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
santa3.pas
Description: Binary data
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal