Search the Community
Showing results for tags 'serviceworker'.
Found 3 results
Hi everyone! https://vtange.github.io/boxgun/ This is Boxgun, my first game with BabylonJs! It’s a projectile game. You have 10 seconds to drag and shake the crystal you see on-screen to charge the box cannon, with which you try to fire a box as far as you can! The game stops when it detects your box is done moving. Controls: (in menu) Z or Enter: ‘OK’ in menu up, down: move up and down the current menu. (in game) Spacebar: fire P: pause, unpause …or you can just use your fingers or a mouse Note: Babylonjs only powers the 3d picture parts. The UI is actually an HTML5 DOM overlay. Enjoy!
Hello everyone, Wanted to share a project I've been working on called Superweb.app--the goal for this project is to help HTML 5 game devs deploy offline/native-like JS games to the web using your own domain names. I started building this to host my own games but thought it might be helpful for other people too. If you have time, would you be willing to give Superweb.app a shot and send me any feedback you have? If so, please sign up here and let me know how it goes! Here's a little more detail: Superweb.app hosts your game assets and configures a service worker to cache your assets locally so the game can run offline. Additionally, you can configure a web manifest so people can "install" your games on their home screen and launch them like a native app. When you upload new versions of your games, your users will be notified of the new version and allowed to "refresh" to get the update. Here's a couple screenshots of 1) my installed apps on my iPhone home screen and 2) the update prompt a user sees when a new version is available: I'm using Superweb.app to host my own HTML5 games, and it's been working pretty well so far--all my single-player JS games are playable offline. If you are able to try it out, please let me know if you think this service could be helpful to you or if there's things I could do to make it be helpful. Thank you for the help!!
I'm not a gamer but I need to draw your attention to some HTML5 functionality that must be made available to you yet is currently being white-anted by W3C and the browser development teams that have a vested interest in flogging the dead-horse that is client-based geofences. In a nutshell, I am pleading with anyone and everyone who will listen to surface/expose a TravelManager object in the ServiceWorkerRegistration. (This is analogous to the current PushManager.) A "Travel" event would be sufficient to re-instantiate a previously terminated ServiceWorker. If you know that this makes sense then please take the time to visit: - https://bugzilla.mozilla.org/show_bug.cgi?id=1249130 and the bottom of https://bugs.chromium.org/p/chromium/issues/detail?id=383125 And W3C https://github.com/w3c/geofencing-api/issues/25 https://github.com/slightlyoff/ServiceWorker/issues/745 If you're interested please take the opportunity to comment or subscribe. Thanks!