Jasc Soccer ported to javascript

General discussion for topics related to the FreeBASIC project or its community.
Post Reply
v1ctor
Site Admin
Posts: 3804
Joined: May 27, 2005 8:08
Location: SP / Bra[s]il
Contact:

Jasc Soccer ported to javascript

Post by v1ctor »

Another FB game compiled with the Javascript port (work in progress).

This time it's Jasc Soccer, by Pitto:

http://freebasic.net/temp/js-JascSoccer/main.html

Runs pretty well in Firefox and Edge. Not so good in Chrome (screen flickering) or IE 11 (never enter the match screen).

Please test it and report the results! Thanks!

The source code: http://freebasic.net/temp/js-JascSoccer/JascSoccer.rar
ITomi
Posts: 154
Joined: Jul 31, 2015 11:23
Location: Hungary

Re: Jasc Soccer ported to javascript

Post by ITomi »

V1ctor, I didn't know that it is possible to write browser games with FreeBasic...!
I tested it a few minutes ago: my default browser is Chrome, but (as you wrote) not so good with that because it's not react keyboard input nor mouse, so I couldn't enter the match screen.
Then I try under Opera, and lo! The game is manageable! And really funny! I 've downloaded the source code too: I will through it, but I don't think so I will be able to help correct its possible errors; I'm a "green" FB programmer.
In any case thank you for publish; it excite the curiosity of me.
bihai
Posts: 36
Joined: Mar 25, 2015 7:56

Re: Jasc Soccer ported to javascript

Post by bihai »

hi, link is broken.
Please post a new one, thanks:)
v1ctor
Site Admin
Posts: 3804
Joined: May 27, 2005 8:08
Location: SP / Bra[s]il
Contact:

Re: Jasc Soccer ported to javascript

Post by v1ctor »

Game reuploaded.
bihai
Posts: 36
Joined: Mar 25, 2015 7:56

Re: Jasc Soccer ported to javascript

Post by bihai »

v1ctor wrote:Game reuploaded.
Thanks a looot!
Pitto
Posts: 122
Joined: Nov 19, 2012 19:58

Re: Jasc Soccer ported to javascript

Post by Pitto »

Hi v1ctor,

41 fps on Chrome v.47 (runs smoothly), 60 fps on Firefox (sometimes jerkly)… [Win7 AMD Quad-Core@2.60Ghz].
Tested also on tablet with bluetooth keyboard… runs very slow (but tablet is almost 4 years old).

I never could imagine that these small guys could also run on a web browser.

Thank you for this porting. Really a very good job. Best regards.
bihai
Posts: 36
Joined: Mar 25, 2015 7:56

Re: Jasc Soccer ported to javascript

Post by bihai »

Pitto wrote:Hi v1ctor,

41 fps on Chrome v.47 (runs smoothly), 60 fps on Firefox (sometimes jerkly)… [Win7 AMD Quad-Core@2.60Ghz].
Tested also on tablet with bluetooth keyboard… runs very slow (but tablet is almost 4 years old).

I never could imagine that these small guys could also run on a web browser.

Thank you for this porting. Really a very good job. Best regards.
A dream comes true, erh?
Post Reply