Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

Donate!

pls donate


#51 2019-08-19 21:55:13

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 999

Re: EE became smoother

LukeM wrote:

As for native EEU, we'll probably be packaging it as a PWA

May I ask why you're planning on using a PWA, instead of something like Electron?
I do believe Electron is "more native" than a PWA, since it essentially has all system calls available. If you really wanted to you could even make EEU playable through Apple's touchbar and any new gimmicky feature that gets released.
Main downside would be the RAM usage, I guess, since it just runs your web app in Chromium... It'd probably move towards the 0.5-1GB range when playing EEU (more around 0.3-0.5 during beta phases).

Offline

#52 2019-08-19 22:42:33, last edited by LukeM (2019-08-19 22:45:24)

LukeM
Dev Team
From: England
Joined: 2016-06-03
Posts: 2,838
Website

Re: EE became smoother

den3107 wrote:
LukeM wrote:

As for native EEU, we'll probably be packaging it as a PWA

May I ask why you're planning on using a PWA, instead of something like Electron?
I do believe Electron is "more native" than a PWA, since it essentially has all system calls available. If you really wanted to you could even make EEU playable through Apple's touchbar and any new gimmicky feature that gets released.
Main downside would be the RAM usage, I guess, since it just runs your web app in Chromium... It'd probably move towards the 0.5-1GB range when playing EEU (more around 0.3-0.5 during beta phases).

Currently we're not completely certain about what we're going to be using as we're focusing on getting the core functionality done before we start working on things like this. I just mentioned a PWA instead of an Electron app because currently that seems like the slightly more likely of the two, although there isn't much in it.

With the PWA vs Electron thing, generally things seem to be moving away from things like Electron and towards PWAs, especially for games like EEU that don't really need access to things like unrestricted file access etc, and even this is becoming less of a problem as more of these things become supported natively by PWAs. PWAs are just generally a bit nicer to work with and perform a bit better.

That said, I'd guess that if we do go with PWAs we might have a version that uses something like Electron for people whose browsers / OSes don't support PWAs yet, although again it's pretty early so this is massively subject to change.

Offline

#53 2019-08-20 14:13:52

Daneeko
Member
From: EE Universe
Joined: 2015-02-20
Posts: 2,017

Re: EE became smoother

LukeM wrote:
den3107 wrote:
LukeM wrote:

As for native EEU, we'll probably be packaging it as a PWA

May I ask why you're planning on using a PWA, instead of something like Electron?
I do believe Electron is "more native" than a PWA, since it essentially has all system calls available. If you really wanted to you could even make EEU playable through Apple's touchbar and any new gimmicky feature that gets released.
Main downside would be the RAM usage, I guess, since it just runs your web app in Chromium... It'd probably move towards the 0.5-1GB range when playing EEU (more around 0.3-0.5 during beta phases).

Currently we're not completely certain about what we're going to be using as we're focusing on getting the core functionality done before we start working on things like this. I just mentioned a PWA instead of an Electron app because currently that seems like the slightly more likely of the two, although there isn't much in it.

With the PWA vs Electron thing, generally things seem to be moving away from things like Electron and towards PWAs, especially for games like EEU that don't really need access to things like unrestricted file access etc, and even this is becoming less of a problem as more of these things become supported natively by PWAs. PWAs are just generally a bit nicer to work with and perform a bit better.

That said, I'd guess that if we do go with PWAs we might have a version that uses something like Electron for people whose browsers / OSes don't support PWAs yet, although again it's pretty early so this is massively subject to change.

in short: pwa > electron, but that isnt final


LlCSTtC.pngcocoa

Offline

Daneeko1566306832759792

Board footer

Powered by FluxBB

[ Started around 1568776447.0914 - Generated in 0.028 seconds, 12 queries executed - Memory usage: 1.29 MiB (Peak: 1.39 MiB) ]