On 07.01.2018 15:03, Ingemar Ragnemalm wrote:
> and here is an (almost) fully working snake game:
>
> http://ragnemalm.se/images/santa/snake/snake.html
>
Perhaps you should write somewhere how the snake is controlled. I
personally am used to using all four cursor keys to control the snake's
move
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
On 7 January 2018 at 15:03, Ingemar Ragnemalm wrote:
>
> An u
On Sun, 7 Jan 2018, Ingemar Ragnemalm wrote:
An update on my tests with pas2js:
I have overcome most problems now and am quite a bit happier with what I
see - and what I did see before was good!
Reimar Grabowski asked for interactivity. Done!
Myself, I wanted to reduce the amount of info
An update on my tests with pas2js:
I have overcome most problems now and am quite a bit happier with what I
see - and what I did see before was good!
Reimar Grabowski asked for interactivity. Done!
Myself, I wanted to reduce the amount of information, like file
references in the HTML file,
On 24/12/17 09:20, Ingemar Ragnemalm wrote:
>
> Den 2017-12-22 kl. 12:00, skrev Michael Van Canneyt:
>> On Wed, 20 Dec 2017, Reimar Grabowski wrote:
[...]
>>> While you are updating your code you can remove the two
>>> dependencies on bootstrap (as they are not satisfied anyway and I
>>> think th
On 2017-12-24 09:36, Michael Van Canneyt wrote:
If it was standard on all browsers (it is not on IE), then we could add it to
web.pas. But since IE does not support it, the classes can then be added
to a new units websound.pas.
Sounds like a good candidate for a Decorator or Factory Method/Cl
On Sun, 24 Dec 2017, Ingemar Ragnemalm wrote:
In that sense, the demo demonstrates this. The server is just there for you
to be able to download the "program"...
Exactly. I get a cross-platform solution with no installations, in a way that
users are increasingly used to. And I can write it
Den 2017-12-22 kl. 12:00, skrev Michael Van Canneyt:
On Wed, 20 Dec 2017, Reimar Grabowski wrote:
On Wed, 20 Dec 2017 15:14:50 +0100
Ingemar Ragnemalm wrote:
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 i
On Thu, 21 Dec 2017 15:49:01 +0100
Michael Schnell wrote:
> Rather obviously this
> would needed to be provided by the library (e.g. Lazarus or mse).
LOL, no.
R.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/
On Fri, 22 Dec 2017 08:53:03 +0100 (CET)
Michael Van Canneyt wrote:
> That is one of the points of pas2js. To allow you to program the browser [in
> pascal].
Fixed that for you.
And yes, that's what most transpilers to javascript are meant for.
> There is no need for a server. You can make e.g.
On Wed, 20 Dec 2017, Reimar Grabowski wrote:
On Wed, 20 Dec 2017 15:14:50 +0100
Ingemar Ragnemalm wrote:
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 20.12.2017 17:30, Reimar Grabowski wrote:
Not dissing you or your work or pas2js but I fail to see the web
application part. There is no communication between client and server.
Actually there is no server side code at all and there is no
interactivity.
Rather obviously this would not be a c
On 21/12/17 11:53, Ryan Joseph wrote:
>
>
>> On Dec 20, 2017, at 9:14 PM, Ingemar Ragnemalm wrote:
>>
>> Absolutely, and I don't mind sharing the code. It is in the same folder!
>> Very small and simple program, and all FPC. :)
>
> Can you post the code? I haven’t actually seen any examples so
> On Dec 20, 2017, at 9:14 PM, Ingemar Ragnemalm wrote:
>
> Absolutely, and I don't mind sharing the code. It is in the same folder! Very
> small and simple program, and all FPC. :)
Can you post the code? I haven’t actually seen any examples so I have no idea
how it works.
Regards,
On Wed, 20 Dec 2017 15:14:50 +0100
Ingemar Ragnemalm wrote:
> 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?
First
Den 2017-12-20 kl. 13:09, skrev Mattias Gaertner:
On Wed, 20 Dec 2017 12:29:25 +0100
Ingemar Ragnemalm 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://r
On 2017-12-20 11:29, Ingemar Ragnemalm wrote:
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.)
Awesome - I still have to get my head around this whose Pas2JS
functionality. It seems ver
attias
>
>
>
> >
> > /Ingemar
> >
> > Den 2017-12-17 kl. 12:00, skrev Michael Van Canneyt:
> > > From: Michael Van Canneyt
> > > To: FPC mailing list, FPC
> > > development mailing list, Lazarus
> > > mailing li
should! (I hope it does for the rest of you.)
Beautiful.
Can I add the URL as an example?
Mattias
>
> /Ingemar
>
> Den 2017-12-17 kl. 12:00, skrev Michael Van Canneyt:
> > From: Michael Van Canneyt
> > To: FPC mailing list, FPC
> > development mailing list,
, but otherwise it seems to work as it
should! (I hope it does for the rest of you.)
/Ingemar
Den 2017-12-17 kl. 12:00, skrev Michael Van Canneyt:
From: Michael Van Canneyt
To: FPC mailing list, FPC
development mailing list, Lazarus
mailing list
Subject: [fpc-pascal] First p
Well done to everybody involve. This is truly impressive news!
* Debugging:
Obviously, the browser debugger can be used to debug the Javascript.
But there is more: the compiler can emit a source map, and this means that
if the browser finds the source file, it will display the original source
f
Wow, nice job 😀
On Dec 17, 2017 2:29 AM, "Michael Van Canneyt"
wrote:
>
>
> On Sun, 17 Dec 2017, Sven Barth via fpc-pascal wrote:
>
> Am 17.12.2017 08:01 schrieb "code dz" :
>>
>> good news & thanks for the effort
>>
>> is it similar to Emscripten ?
>>
>>
>> Not really. Emscripten (and WebAsm) h
On Sun, 17 Dec 2017, Sven Barth via fpc-pascal wrote:
Am 17.12.2017 08:01 schrieb "code dz" :
good news & thanks for the effort
is it similar to Emscripten ?
Not really. Emscripten (and WebAsm) has the goal to convert native programs
that rely on pointers. It is essentially an assembly lan
Am 17.12.2017 08:01 schrieb "code dz" :
good news & thanks for the effort
is it similar to Emscripten ?
Not really. Emscripten (and WebAsm) has the goal to convert native programs
that rely on pointers. It is essentially an assembly language in
JavaScript. Pas2JS is on the other hand a transpil
good news & thanks for the effort
is it similar to Emscripten ?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hello fellow Pascal enthousiasts,
It is with great pleasure that I can finally announce the first publicly
available version of pas2js. A "beta" version, version 0.8.39.
The endpoint (for the time being) of nearly 10 years of (slow) development.
pas2js is a Object Pascal to Javascript transpile
26 matches
Mail list logo