Jasc Soccer ported to javascript

For other topics related to the FreeBASIC project or its community.
v1ctor
Site Admin
Posts: 3799
Joined: May 27, 2005 8:08
Location: SP / Bra[s]il
Contact:

Jasc Soccer ported to javascript

Postby v1ctor » Oct 14, 2015 23:07

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: 121
Joined: Jul 31, 2015 11:23
Location: Hungary

Re: Jasc Soccer ported to javascript

Postby ITomi » Oct 15, 2015 14:27

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: 33
Joined: Mar 25, 2015 7:56

Re: Jasc Soccer ported to javascript

Postby bihai » Jan 11, 2016 23:57

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

Re: Jasc Soccer ported to javascript

Postby v1ctor » Jan 15, 2016 22:31

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

Re: Jasc Soccer ported to javascript

Postby bihai » Jan 20, 2016 8:53

v1ctor wrote:Game reuploaded.

Thanks a looot!
Pitto
Posts: 113
Joined: Nov 19, 2012 19:58

Re: Jasc Soccer ported to javascript

Postby Pitto » Jan 20, 2016 22:55

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: 33
Joined: Mar 25, 2015 7:56

Re: Jasc Soccer ported to javascript

Postby bihai » Jan 21, 2016 2:52

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?

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests