Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - spacefractal

#61
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.
#62
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.
#63
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?
#64
its was inside the JavaScript code, called directly from c++ (but wasent aware of await) and there was some confusion. And its seen its take comply of frame, so waiting is actuelly not a good idea either really.

anyway its works as intended and a another function can check it under loading, so the games can show something to you without its freezing.

Instead im just added a another function that checks when the task have been done or failed, so its wait just before when the load game progress is required (and later than normal)..... and with no a black screen.
#65
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.
#66
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.
#67
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.
#68
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.

#69
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.
#70
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).
#71
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.
#72
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).
#73
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.
#74
gradle-5.4.1 is no longer supported in newest Android Studio, and we dont want using old Android Studio. Its seen he got it to work with a newer grandle that is supported (here using 7.1.0). so its the right way he do.

Also he have enable sdl controller thing, no idea its works. so this might meant we uses both code this time.

We make sure we do that change you did, which is a area im have not checked at all. so here you can do right.

SDLActivity.mSingleton.getPackage() can been a leaf from old android.bat version, no longer needed. More because we do extends its activaty without modify it directly, unlike the old version. Its property used a depreacted code.
#75
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).