[fpc-pascal] First pas2js public release

Ingemar Ragnemalm ingemar at ragnemalm.se
Wed Dec 20 15:14:50 CET 2017


Den 2017-12-20 kl. 13:09, skrev Mattias Gaertner:
> On Wed, 20 Dec 2017 12:29:25 +0100
> Ingemar Ragnemalm<ingemar at ragnemalm.se>  wrote:
>> And then I got some of the provided demos running too and
>> managed to write one of my own. So it looks good!
>>
>> Here is an early result, expressing my feelings for this release:
>>
>> http://ragnemalm.se/images/santa/santa.html
>>
>> I couldn't get sound working, but otherwise it seems to work as it
>> should! (I hope it does for the rest of you.)
> Beautiful.
> Can I add the URL as an example?

Absolutely, and I don't mind sharing the code. It is in the same folder! 
Very small and simple program, and all FPC. :)

Although I would like to make some improvements - who doesn't? To be 
precise, I want to figure out a way to play sounds, and I want image 
loading directly in the code and not dependent on the HTML. Any ideas 
about that?

It feels really nice to have my first Pascal web application running! 
Well, I could do it in Java before but that isn't as universal as 
JavaScript.

/Ingemar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20171220/c0a3957e/attachment.html>


More information about the fpc-pascal mailing list