Space Fractal's games now got webgl ports

Previous topic - Next topic

spacefractal

After im gav up Android Studio with the cat after mouse game, html5/Java have prove to been so much fun with work with.

Im got all 6 games ported and run in a browser. Not all games might works in all browsers. But here these:

https://spacefractal.itch.io/

The saving (due a async mount issue) and freeze on launch (when assert() failed) should all been fixed on all games that uses them.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Kitty Hello

All of them run nicely in my Firefox  :good:

bigsofty

Also on Mobile Safari(ipad), sll smooth and play well :good:

Greedy Mouse has no sound though?
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

spacefractal

#3
Nice to here its works on Sarafi as well.

There should been sound, both music (if enabled) and sound fx when moving items around?

Im only using wav file in that game as im remember.

Its only Greedy Mouse this happens?
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Qedo

 on Microsoft Edge cursor  keys (left right) don't work on all games

not tried heavily.

spacefractal

#5
Sometimes, im dont know why yet, its require a F5 refresh, before the keyboard respons. Im using the same javascript code for all games. Spot Race and Catchout has no keyboard controls throught.

The games was tested with extractly with MS Edge in mind really, but tested on 4 browsers.

EDIT:
Im believe this mightbeen happens when im added a document.addEventListener too early, before the page was loaded, and then no keyboard respons happens until a refresh? Im moved it into a function (under DetectCanvasResize(), that is started from c++ code anyway), so hope its works better now.

Only updated Greedy Mouse as testing.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Qedo

SF , Greedy Mouse  on Microsoft Edge now it works great

spacefractal

its can still been happens. but not allways a refresh is required. its property a security/focus issue by the browser(s). but its did help throught. So if there is any keyboard issues, then refresh the game.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

bigsofty

Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

spacefractal

im diddent touch any of the sound. so browsers is strange sometime. sound refuse to work until you clicking on the game throught. this is nothing im can do of course. Im only try to add that listinger a bit later....
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/