A HTML5/WebGL Journey (various fixes included to download)

Previous topic - Next topic

Qedo

SF all OK I did a refresh of Fierefox and now the game works.

spacefractal

that cool. so its something wrong with the png files. Im have heard this issue before as im said. So uses RGBA and compression 8. that seens works nice so.

Thanks for testing. Howover its could also been a asyncon issue. Im havent checked in this case, but just was if its was.

But thanks you for the checking.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

Now im have 4 projects online, still missing 2:
https://spacefractal.itch.io/

Now next project is Karma Miwa, which is one of the bigger game, while gamesize is still quite small. Howover gone would been the various mipmapping style graphics im did for those games. So im only uses the high resolution assests for that game (easy to instant scale them without reloading).

For Genius Greedy Mouse, im might only add the maze edition online, which the puzzle one property would require some sort of a paid thing as the only game im will do it.

There is no ads for any of my game, even im later could implement those (im added a cookie message thing, but could uses that for ads banners really as canwas would just resize).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

SnooPI

Hi Spacefractal!
Only "Jam Beagle" works for me on the latest version of Firefox, the others are blocked after downloading  :(
On Microsoft Edge, everything works fine  :good:

spacefractal

#34
then im need the logcat, or im have no change what happens. Here its all works fine (include Firefox). Only im can see its the damn assert() thing (the game should just countinue without saving), but im does need the logcat, so im can see where its stopped. Sometimes refresh does work (with holding dong ctrl).

Firefox have such a tool im previous has describted. Jam Beagle does not uses saving at all, or if its has a loading picture, where its stopped.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

that game wasent designed with that widescreen in mind. lol.... hehe. Clouds example does not repeats on the right and...... birds was flapping without flying, when they was not near you. hehe. Birds has howover been fixed, so its fly down, even most people wont se that.

Scaling was quite broken for this game (mostly fixed, some clouds still missing, rest works), but its seends in the ends is samller than PowerUp Elevation (property due fewer tunes used).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

I noticed a few html - AV Bitdefender errors
Not sure if itch.io was issue or a html5 method...?

Will try again soon and post if i see again...
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

Im cant do anthing when a anti virus is too aggresive as some of those is. Im have only used it with AVG and there is no issues here. Im cant do anything if such a app has blocked the app from running.

But in all cases im can only do checking if im get the logcat.

Here im have tested with Opera, Firefox, Edge and Chrome. All works for me. Sometimes saving dont works, but the best case here im want it to countinue without crash. im have idea, if its got blocked before its trying doing that.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

Now Karma Miwa is only, the 5th game. Now im only missing Genius Greedy Mouse. That game might take some time as scaling need to been redesigned a bit as its was with Karma Miwa (the mipmapping feature im used on those games cant been used as a webgl game, due you can resize them in anytime, but looks ace when you doing it).
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

Qedo

Code (glbasic) Select
Only "Jam Beagle" works for me on the latest version of Firefox, the others are blocked after downloading

Perhaps need only "refresh of Firefox" so i solved it

spacefractal

#40
its still wierd. Jam Beagle does not do a mount and sync features as its does not require any saving at all, but all other games does it for saving settings and game (which uses localdb, which a antivirus might have blocked it). In the new Karma Miwa, im do first read the settings quite late in the loading, if that help.

Im does not uses any cookies, but localdb for saving stuff (other than those itch is using).

btw, 5 games is ported, and only missing Greedy Mouse. Karma Miwa seens also runs fine for me. Im cant garentee works in all combinations of course. But im do like this platform very much (scaling looks so cool when its finally works), so what a heck did im not look with this platform eailer?

PS. Im forgot to reposition clouds when you resize the game, lol. but fixing its self after you doing or restart throught. Im fixing that later, not a vital bug.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

SnooPI

I was in private browsing, in normal mode everything works  ;)

spacefractal

#42
Ah thanks. Now im thinks im know what is happens on the crash on launch:

When assert() fails, then its actuelly just call a abort("Assertion failed: "+text) in the JavaScript code, then its will simply just quit. Why have they do it that way? Its would been much better to just do a minor error, so im could catch it instead.

That issue is fixed, just need to update the games. Of course its does lose the saving when doing inprivate and such features, but the game should still run.

Also Im today have done a little post tool, so its added those fixes and files (include the assert() one), so you only needs to implemnts the changes in your gode, where canvas, keyboard and files is used.

Until im or Gernot have updated the steam version, here is the tool...

PS. Karma Miwa is updated (rest is follow on) and should also now run in a private vindoe, but of course save files deleted when leave, but its run. Thanks to let me know, so im finally could reproduce the issue.

PPS. Removed this version of posttool. use the version im uploaded to dropbox (in the same post im did the various fixes.

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

spacefractal

Genius Greedy Mouse is now weblgl'ed. The last of the 6 glbasic im have did.

Im do still miss to update few of the games with the assert() bug fixed, so its dont crash on startup like that (PowerUp Elevation, Spot Race and CatchOut).

ALso if im can get GameController support working im wilil update 4 of the games again (Spot Race and CatchOut is purely mouse/touchscreen game).

Let me know if some need help with html5/webgl. Im sure its happens. Its really a fun platform to work with and something im have missed back in the Java days to create browser games and with those fixes im did, then its really began nice.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

spacefractal

#44
ohh dear. found a another annoying nasty issue, but its does not crash or anything like that.

FileSystem_HasbeenMounted() im did in the html5extras is a asyncron call, which means its take some frames for the feature to been done. That means, if you load your game too early, there was no files to been found, until the mount has been done().

younk.

FileSystem_HasbeenMounted() is need, so its can been checked in the GLB_ON_LOOP() code. (the posttool has been reflected of course to add that).

All my webgl games should fixed those. Hopefully they now all works as intended. So im finally annonced my games in the annonce forum.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/