Andrzej Mazur • @end3r • Enclave Games
Tech Speakers Briefing, online, May 21st 2020
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Flood Escape</title>
<meta name="monetization" content="your_payment_pointer">
// ...
</head>
$coil.xrptipbot.com/-CgHpYu7SfeoDmHVugOfrw
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?