Andrzej Mazur • @end3r • Enclave Games
4Developers 2021, online, 25 maja 2021
Way worse than native.
Play/sync issues, too many formats.
Web Storage, AppCache, IndexedDB, Web SQL.
Gamepad, Pointer Lock, Fullscreen, etc...
Borrowed from front-end.
Go native or go home.
But...
Fragmented market, oversaturates quickly.
Competing with native, playing by their rules.
Fast hyper-casual mobile experiences.
WebGPU, WebAssembly, hundreds of MBs of assets.
What are your struggles and needs? What problems are you facing?
Two main issues:
Web Monetization API
<head>
<meta name="monetization" content="$ilp.uphold.com/k4eJGQUDF9nw">
// ...
</head>
if(document.monetization && document.monetization.state === 'started') {
// do something
}
function startEventHandler(event) {
// do something
}
document.monetization.addEventListener('monetizationstart', startEventHandler);
Levels, points, coins, weapons, bonuses, etc...
"Classic" publisher | Web Monetization | |
---|---|---|
Implementation: | Complicated, changing code | 1 line of HTML + 2 lines of JS |
Income: | Waiting months for reports | Instant, streamed in real time |
Thank you! Questions? Ask in the comments!