<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Eka Putri</title>
    <description>The latest articles on DEV Community by Eka Putri (@ekaputri_game).</description>
    <link>https://dev.to/ekaputri_game</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4205631%2F9ea47a84-166f-4631-9368-7bee9cdacef2.png</url>
      <title>DEV Community: Eka Putri</title>
      <link>https://dev.to/ekaputri_game</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ekaputri_game"/>
    <language>en</language>
    <item>
      <title>Why the Phone Stops Buzzing Before the Round Is Over</title>
      <dc:creator>Eka Putri</dc:creator>
      <pubDate>Tue, 24 Nov 2026 00:03:34 +0000</pubDate>
      <link>https://dev.to/ekaputri_game/why-the-phone-stops-buzzing-before-the-round-is-over-10mo</link>
      <guid>https://dev.to/ekaputri_game/why-the-phone-stops-buzzing-before-the-round-is-over-10mo</guid>
      <description>&lt;p&gt;A player messaged me to say his new phone makes the game feel dead. On his old handset every confirmed tap answered with a short buzz; on this one there is nothing, so he keeps re-tapping for confirmation. Not a line of the game changed between the two phones.&lt;/p&gt;

&lt;p&gt;The buzz comes from &lt;code&gt;navigator.vibrate&lt;/code&gt;, the quietest failure on Android. The call returns a boolean instead of throwing, so a false means "I did not do it" with no reason attached. The usual causes are a missing user activation, a document that is not visible, or a pattern the engine refuses. A malformed array, or a call from a timer rather than a touch handler, ends in silence. Two builds on my desk, &lt;a href="https://rpvip1web.online" rel="noopener noreferrer"&gt;h5 rpvip1&lt;/a&gt; and &lt;a href="https://kkwinweb.online" rel="noopener noreferrer"&gt;kkwin apk&lt;/a&gt;, log that boolean, the only way I have found to tell "ignored" from "vibrated".&lt;/p&gt;

&lt;p&gt;Then there is the interruption case. Three 40 ms pulses are queued, the player switches apps, the tab goes hidden and the rest is dropped, so the long confirmation he expects at the end of a round never arrives. When he returns, his thumb is already off the glass and the next tap starts a fresh sequence. I watched this on &lt;a href="https://pcpc7.online" rel="noopener noreferrer"&gt;aplikasi pcpc7 apk&lt;/a&gt;, which fires its pulse when a round closes rather than when it opens.&lt;/p&gt;

&lt;p&gt;System settings sit on top of all of it. Silent mode alone does not stop the motor, but Do Not Disturb and the per-app haptics toggle do, and neither is visible to the page. So test on real hardware with the settings your players use, and never let a buzz be the only signal: pair each pulse with a visible change. Entries like &lt;a href="https://id098web.online" rel="noopener noreferrer"&gt;id098&lt;/a&gt; and &lt;a href="https://rp777web.online" rel="noopener noreferrer"&gt;h5.rp777&lt;/a&gt; survive the muted case because the score strip moves as well.&lt;/p&gt;

</description>
      <category>android</category>
      <category>gaming</category>
      <category>webdev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>The Long Press That Turns Your HUD Into Selected Text</title>
      <dc:creator>Eka Putri</dc:creator>
      <pubDate>Mon, 23 Nov 2026 00:35:56 +0000</pubDate>
      <link>https://dev.to/ekaputri_game/the-long-press-that-turns-your-hud-into-selected-text-322j</link>
      <guid>https://dev.to/ekaputri_game/the-long-press-that-turns-your-hud-into-selected-text-322j</guid>
      <description>&lt;p&gt;A player in my group sent a screenshot instead of a message: his score panel had a blue selection band running across it and the browser's copy toolbar was sitting over the bottom of the game. He had not long-pressed anything on purpose. He had rested his thumb on the screen for a second while reading a notification, and Android answered with the text selection UI.&lt;/p&gt;

&lt;p&gt;That is the part people miss. On Android a finger that stops moving for roughly half a second stops being a pointer and becomes a candidate for the text and image layer. For a page that is one big canvas, the browser goes looking through whatever DOM sits on top of it, and HUD labels, timers and chat lines are all fair game. Two entries I keep bookmarked, &lt;a href="https://vt38.online" rel="noopener noreferrer"&gt;vt38&lt;/a&gt; and &lt;a href="https://tt789.online" rel="noopener noreferrer"&gt;tt789&lt;/a&gt;, draw their score strip inside the canvas rather than above it, which is the blunt way to stay out of reach.&lt;/p&gt;

&lt;p&gt;The damage is worse than a cosmetic highlight. A long press that opens a dialog cancels the touch sequence, so the game never receives the pointerup that would have released the button. The character keeps walking, the aim keeps drifting, and the finger that caused it is no longer touching the screen. I watched a build listed as &lt;a href="https://dna777.online" rel="noopener noreferrer"&gt;dna777 apk&lt;/a&gt; do this on roughly every third hold, because its hidden status label was invisible but still selectable.&lt;/p&gt;

&lt;p&gt;The fix is a few declarations on the game wrapper: user-select none, touch-callout none, and a contextmenu handler that returns false. Then hold a thumb on each HUD corner for a full second in &lt;a href="https://biwinweb.online" rel="noopener noreferrer"&gt;biwin apk&lt;/a&gt; and again in &lt;a href="https://rr999web.online" rel="noopener noreferrer"&gt;rr999 apk&lt;/a&gt;, and watch the console for pointercancel. If the events stop mid-sequence, the page is still handing your finger to the wrong layer.&lt;/p&gt;

</description>
      <category>android</category>
      <category>gaming</category>
      <category>webdev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>The Drag That Reloads the Whole Game</title>
      <dc:creator>Eka Putri</dc:creator>
      <pubDate>Sat, 21 Nov 2026 23:42:05 +0000</pubDate>
      <link>https://dev.to/ekaputri_game/the-drag-that-reloads-the-whole-game-3ogg</link>
      <guid>https://dev.to/ekaputri_game/the-drag-that-reloads-the-whole-game-3ogg</guid>
      <description>&lt;p&gt;A player in my group chat sent a screen recording last week that took three viewings to follow. He was flicking a leaderboard with his thumb, overshot the first row, and the whole page blinked and came back to its loading screen. No error, no reconnect banner. The round simply stopped existing, and the page looked healthy afterwards.&lt;/p&gt;

&lt;p&gt;What he had triggered was pull to refresh, a browser gesture with nothing to do with the game. It only asks that the page be at the top and that the drag be downward and long enough. Inside a list you scroll by dragging, that is exactly what a thumb does when it overshoots. I reproduced it four times in a row on &lt;a href="https://menangbet.online" rel="noopener noreferrer"&gt;menangbet&lt;/a&gt; before I trusted the recording.&lt;/p&gt;

&lt;p&gt;A reload is more expensive than it looks, because everything held in memory goes with it: the round clock, the moves that were never sent, the audio graph. A dropped socket keeps your local state and can replay it; a reload cannot, and the player cannot tell the two apart, since both land on the same screen. Two pages I keep in the same tab group, &lt;a href="https://jt777web.online" rel="noopener noreferrer"&gt;jt777&lt;/a&gt; and &lt;a href="https://cv777web.online" rel="noopener noreferrer"&gt;cv777&lt;/a&gt;, differ here for reasons I have not pinned down: one gets back to the round, the other does not.&lt;/p&gt;

&lt;p&gt;The fix is usually one declaration. Setting overscroll behavior to contain on the body, or on whichever element owns the scroll, stops the browser from turning an overshoot into a reload, and it costs nothing in layout. Where I cannot reach the CSS, I repeat the same deliberate drag on &lt;a href="https://v98web.online" rel="noopener noreferrer"&gt;v98&lt;/a&gt; and watch whether the round survives. On the cheap phone I keep for the worst case, &lt;a href="https://rajajuara.online" rel="noopener noreferrer"&gt;rajajuara&lt;/a&gt;, it is worth doing twice, because the second attempt is the one that lands.&lt;/p&gt;

</description>
      <category>android</category>
      <category>gaming</category>
      <category>webdev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>The Screen Goes Dark Mid-Round: Wake Lock on Android Browsers</title>
      <dc:creator>Eka Putri</dc:creator>
      <pubDate>Fri, 20 Nov 2026 22:39:03 +0000</pubDate>
      <link>https://dev.to/ekaputri_game/the-screen-goes-dark-mid-round-wake-lock-on-android-browsers-1md0</link>
      <guid>https://dev.to/ekaputri_game/the-screen-goes-dark-mid-round-wake-lock-on-android-browsers-1md0</guid>
      <description>&lt;p&gt;Put the phone on the table, keep both hands free, and the display dims mid-round. Stock Android ships with a 30-second screen timeout, so a web game that needs a tap once a minute spends more time fighting the lock screen than the level.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;navigator.wakeLock.request('screen')&lt;/code&gt; exists for exactly this. It resolves to a sentinel object, only works in a secure context, and is refused when the page is not visible or the battery is nearly empty. The lock is also released when the tab drops to the background, so it has to be requested again inside a &lt;code&gt;visibilitychange&lt;/code&gt; handler. Firefox on Android does not implement it at all, so feature detection is mandatory.&lt;/p&gt;

&lt;p&gt;Among the H5 entries I keep on a home screen, &lt;a href="https://hiwinpro.online" rel="noopener noreferrer"&gt;hiwin&lt;/a&gt; handles this cheaply: a muted looping background clip keeps the display awake where the API is missing, at some battery cost. &lt;a href="https://bigwinner8.online" rel="noopener noreferrer"&gt;bigwinner h5&lt;/a&gt; shows a "tap to keep the screen on" strip instead, honest but tedious every few minutes.&lt;/p&gt;

&lt;p&gt;Three sat side by side on a mid-range phone with the timeout pinned to 30 seconds. With &lt;a href="https://s13web.online" rel="noopener noreferrer"&gt;s13&lt;/a&gt; the screen stayed lit for the whole session, while &lt;a href="https://v87web.online" rel="noopener noreferrer"&gt;v87&lt;/a&gt; went dark at almost exactly the 30-second mark, because its lock was requested before the page had focus. &lt;a href="https://rvip2.online" rel="noopener noreferrer"&gt;rvip2&lt;/a&gt; fell in between: lit while I was touching the screen, dark the moment I stopped.&lt;/p&gt;

&lt;p&gt;The fix is to request the lock on &lt;code&gt;touchstart&lt;/code&gt; as well as on load, and to release the sentinel when the round ends. Two habits are worth keeping: log whether &lt;code&gt;wakeLock.request&lt;/code&gt; resolved or rejected, because a rejected promise is otherwise silent, and add a visible hint for browsers without the API, since a player who cannot see the screen will assume the game froze, not the phone.&lt;/p&gt;

</description>
      <category>android</category>
      <category>gaming</category>
      <category>webdev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>The Keyboard That Pushes the HUD Off the Screen</title>
      <dc:creator>Eka Putri</dc:creator>
      <pubDate>Fri, 20 Nov 2026 05:45:16 +0000</pubDate>
      <link>https://dev.to/ekaputri_game/the-keyboard-that-pushes-the-hud-off-the-screen-4pcf</link>
      <guid>https://dev.to/ekaputri_game/the-keyboard-that-pushes-the-hud-off-the-screen-4pcf</guid>
      <description>&lt;p&gt;A chat box in an H5 game looks like a five-minute feature until you open it on a phone. The moment the on-screen keyboard slides up, the layout the game was built around stops existing: the viewport shrinks, &lt;code&gt;100vh&lt;/code&gt; becomes a moving target, and anything pinned to the bottom jumps by the height of the keyboard.&lt;/p&gt;

&lt;p&gt;On Android the keyboard does not resize the layout viewport the way a desktop window resize would. It mostly moves &lt;code&gt;window.visualViewport&lt;/code&gt;, and &lt;code&gt;resize&lt;/code&gt; arrives late or not at all on some builds. I tested this on a handful of H5 entries that put a name field in the middle of a round. &lt;a href="https://aa666web.online" rel="noopener noreferrer"&gt;aa666 apk&lt;/a&gt; redraws its HUD against &lt;code&gt;visualViewport&lt;/code&gt; and stays where it was, while &lt;a href="https://8888web.online" rel="noopener noreferrer"&gt;csx 8888&lt;/a&gt; keeps the canvas at the old height and leaves a dead strip at the bottom that swallows taps.&lt;/p&gt;

&lt;p&gt;The fix that held up was boring: listen to &lt;code&gt;visualViewport&lt;/code&gt; resize and scroll, keep the game canvas on a fixed pixel height, and never autofocus an input. Autofocus is the trap, because the keyboard opens before the first frame and the boot sequence measures a viewport that is about to change. &lt;a href="https://6svip.online" rel="noopener noreferrer"&gt;6svip&lt;/a&gt; and &lt;a href="https://8svip.online" rel="noopener noreferrer"&gt;8svip&lt;/a&gt; both open their chat on an explicit tap only, and neither scrolls the page when the keyboard closes.&lt;/p&gt;

&lt;p&gt;Closing is the half nobody tests. On a 4 GB phone the keyboard dismissal fires &lt;code&gt;resize&lt;/code&gt; twice, once with the old height, so a HUD that re-measures on every event ends up half off screen. I now capture the height on &lt;code&gt;focusout&lt;/code&gt; plus a 300 ms timer, and only accept a value that matches &lt;code&gt;visualViewport.height&lt;/code&gt;. &lt;a href="https://x88vipweb.online" rel="noopener noreferrer"&gt;x88vip&lt;/a&gt; was the one build where this survived a full round with the keyboard opened six times. A text field is a layout event, not a UI detail.&lt;/p&gt;

</description>
      <category>android</category>
      <category>gaming</category>
      <category>webdev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>The Back Gesture That Ends the Game: Android History in H5 Builds</title>
      <dc:creator>Eka Putri</dc:creator>
      <pubDate>Thu, 19 Nov 2026 06:15:09 +0000</pubDate>
      <link>https://dev.to/ekaputri_game/the-back-gesture-that-ends-the-game-android-history-in-h5-builds-3cao</link>
      <guid>https://dev.to/ekaputri_game/the-back-gesture-that-ends-the-game-android-history-in-h5-builds-3cao</guid>
      <description>&lt;p&gt;A player messaged me last week about an H5 game that closed itself every time he swiped back from the edge of the screen. Nothing in the code said exit. The browser was only following history, and the game had left the stack with nowhere to go except the tab that opened it.&lt;/p&gt;

&lt;p&gt;This never shows up in a desktop test. On Android, the back gesture, the key on older handsets and the edge swipe all feed the same navigation stack, and a page that pushes a state on boot without listening for &lt;code&gt;popstate&lt;/code&gt; can walk straight out of a session. I keep a few builds around for checking exactly this, because the handling differs page by page. &lt;a href="https://zk988web.online" rel="noopener noreferrer"&gt;zk988&lt;/a&gt; intercepts the gesture and asks before leaving, while &lt;a href="https://maha24.online" rel="noopener noreferrer"&gt;h5.maha24&lt;/a&gt; drops the player back to the last checkpoint instead of closing the tab, which feels far less abrupt on a small screen.&lt;/p&gt;

&lt;p&gt;The build I use to test a cold entry from a shared link is the &lt;a href="https://sr6666web.online" rel="noopener noreferrer"&gt;download vegas 777 sr6666&lt;/a&gt; page, since it opens directly into a round with no lobby in between. One state goes on the stack, &lt;code&gt;popstate&lt;/code&gt; gets a listener, and the leave decision becomes explicit rather than accidental.&lt;/p&gt;

&lt;p&gt;What I check now is narrow: push a single guard state on boot, stop the audio context when &lt;code&gt;popstate&lt;/code&gt; fires, and do not trust &lt;code&gt;beforeunload&lt;/code&gt;, which phones frequently skip. If the swipe still escapes the game, the cause is usually an earlier &lt;code&gt;history.replaceState&lt;/code&gt; that already spent the entry. &lt;a href="https://hot985web.online" rel="noopener noreferrer"&gt;hot985&lt;/a&gt; and &lt;a href="https://b8vip.online" rel="noopener noreferrer"&gt;b8vip&lt;/a&gt; are the two where that guard state survived a full round on a 4 GB phone, and that is the behaviour I copy now. A back gesture that asks once is cheaper than a support thread about a game that quits on its own.&lt;/p&gt;

</description>
      <category>android</category>
      <category>gaming</category>
      <category>webdev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>The Save File That Vanishes: Storage Pressure in Mobile Web Games</title>
      <dc:creator>Eka Putri</dc:creator>
      <pubDate>Tue, 17 Nov 2026 23:37:27 +0000</pubDate>
      <link>https://dev.to/ekaputri_game/the-save-file-that-vanishes-storage-pressure-in-mobile-web-games-2c54</link>
      <guid>https://dev.to/ekaputri_game/the-save-file-that-vanishes-storage-pressure-in-mobile-web-games-2c54</guid>
      <description>&lt;p&gt;I borrowed a friend's phone for an afternoon and opened the same H5 game he had been playing for three weeks. It greeted me like a first-time visitor: tutorial, starter pack, no settings. Nothing was corrupted. The browser had simply taken the space back.&lt;/p&gt;

&lt;p&gt;That is the part most mobile web games are not built for. &lt;code&gt;localStorage&lt;/code&gt; usually tops out around 5 MB per origin, and on Android that budget is shared with everything else the origin stores. On a 32 GB phone with a full camera roll, the system starts asking apps and browsers to release space, and &lt;code&gt;IndexedDB&lt;/code&gt; buckets are fair game. The write does not fail loudly; &lt;code&gt;setItem&lt;/code&gt; throws a &lt;code&gt;QuotaExceededError&lt;/code&gt; that many builds never catch, so the game carries on as if the save worked.&lt;/p&gt;

&lt;p&gt;I now check this on a short list of pages I keep for storage tests, and the results differ page by page. &lt;a href="https://svip2.online" rel="noopener noreferrer"&gt;svip2 h5&lt;/a&gt; kept its guest state across a tab close, while &lt;a href="https://g668web.online" rel="noopener noreferrer"&gt;h5 g668&lt;/a&gt; dropped back to a fresh session once the cache was cleared. That difference matters more than frame rate on a device with 4 GB of RAM.&lt;/p&gt;

&lt;p&gt;The fixes are unglamorous. Ask for persistence with &lt;code&gt;navigator.storage.persist()&lt;/code&gt;, put real save data in &lt;code&gt;IndexedDB&lt;/code&gt; instead of one JSON blob in &lt;code&gt;localStorage&lt;/code&gt;, and keep a small checksum copy behind so a half-written save can be detected on boot. It is also worth opening the pages you ship on a phone that is genuinely full: &lt;a href="https://l777web.online" rel="noopener noreferrer"&gt;l777&lt;/a&gt; and &lt;a href="https://at866.online" rel="noopener noreferrer"&gt;at866&lt;/a&gt; are the two I use for a quick sanity check, and &lt;a href="https://idrgame.online" rel="noopener noreferrer"&gt;h5.idrgame&lt;/a&gt; is where the storage panel is easiest to read. A save that survives a nearly full phone is worth more than one that looks clean in a desktop profile.&lt;/p&gt;

</description>
      <category>android</category>
      <category>gaming</category>
      <category>webdev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>Why a Web Game Slows Down at 15% Battery, and Why the Battery Is Not the Cause</title>
      <dc:creator>Eka Putri</dc:creator>
      <pubDate>Tue, 17 Nov 2026 01:40:39 +0000</pubDate>
      <link>https://dev.to/ekaputri_game/why-a-web-game-slows-down-at-15-battery-and-why-the-battery-is-not-the-cause-2agp</link>
      <guid>https://dev.to/ekaputri_game/why-a-web-game-slows-down-at-15-battery-and-why-the-battery-is-not-the-cause-2agp</guid>
      <description>&lt;p&gt;The phone was at 15% and the game fell apart: a round that had held 60 fps for an hour started hitching every second. Nothing else had changed. Android had switched on battery saver, and that setting does more than dim the screen — it stops the CPU from boosting, caps the display at a lower refresh rate, and delays background work.&lt;/p&gt;

&lt;p&gt;The useful first measurement is the gap between animation frames, not the average rate. I log &lt;code&gt;performance.now()&lt;/code&gt; inside &lt;code&gt;requestAnimationFrame&lt;/code&gt; and print the deltas: a steady 8 ms burst followed by a 60 ms hole looks like a stutter to the player, but it is really the scheduler parking a core. Builds that do their per-frame work in one pass, the way &lt;a href="https://h03web.online" rel="noopener noreferrer"&gt;h5.h03&lt;/a&gt; does with its sprite atlas, survive it; builds that trigger layout mid-round do not.&lt;/p&gt;

&lt;p&gt;Second, saver mode slows anything the game fetches lazily. Comparing two ports of the same game, &lt;a href="https://indaaaweb.online" rel="noopener noreferrer"&gt;indaaa&lt;/a&gt; still loaded its second level from cache and resumed, while &lt;a href="https://vita555.online" rel="noopener noreferrer"&gt;vita555&lt;/a&gt; re-requested a texture bundle mid-round and froze for two seconds while the request crawled over a throttled radio.&lt;/p&gt;

&lt;p&gt;Third, the timers drift apart. Saver stretches &lt;code&gt;setTimeout&lt;/code&gt;, so a countdown built from timers runs slow while one built from frame counts runs fast — by the end of a round the two disagree and the scoring logic argues with itself.&lt;/p&gt;

&lt;p&gt;The fix is to measure with saver on instead of toggling it off. Cap the work per frame, preload before the round starts. On &lt;a href="https://sr996.online" rel="noopener noreferrer"&gt;sr996&lt;/a&gt; the difference between the saver run and the normal run was under ten percent once the atlas was preloaded; &lt;a href="https://rajaclub.online" rel="noopener noreferrer"&gt;rajaclub&lt;/a&gt; still lost frames until its countdown was switched to timestamps.&lt;/p&gt;

</description>
      <category>android</category>
      <category>gaming</category>
      <category>webdev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>When the Canvas Goes Black: WebGL Context Loss on Cheap Android Phones</title>
      <dc:creator>Eka Putri</dc:creator>
      <pubDate>Fri, 13 Nov 2026 23:01:55 +0000</pubDate>
      <link>https://dev.to/ekaputri_game/when-the-canvas-goes-black-webgl-context-loss-on-cheap-android-phones-1b3n</link>
      <guid>https://dev.to/ekaputri_game/when-the-canvas-goes-black-webgl-context-loss-on-cheap-android-phones-1b3n</guid>
      <description>&lt;p&gt;A friend handed me an old Android phone last week with a web game frozen on a black rectangle. The HUD still updated — score, timer, a pause button — but the play field was gone and the console said nothing. A reload fixed it for four minutes.&lt;/p&gt;

&lt;p&gt;That is what WebGL context loss looks like from outside. The driver decides it needs the memory back, the browser drops the context, and every &lt;code&gt;gl&lt;/code&gt; call afterwards returns &lt;code&gt;INVALID_OPERATION&lt;/code&gt; while the canvas holds its last frame or goes blank. On a 3 GB phone with a dozen tabs open it is routine.&lt;/p&gt;

&lt;p&gt;Only the WebGL layer dies, which is the giveaway: a DOM overlay keeps repainting, so the bug reads as a rendering glitch rather than a lost context. I listen for it by name now, and &lt;code&gt;preventDefault()&lt;/code&gt; is the line that makes a restore possible at all.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="n"&gt;canvas&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addEventListener&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'webglcontextlost'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;preventDefault&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nf"&gt;pauseRound&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;canvas&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addEventListener&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'webglcontextrestored'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nf"&gt;rebuildTextures&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Forcing the drop takes patience: start the round, then open six heavy pages and let memory pressure build. A catalog such as &lt;a href="https://d06web.online" rel="noopener noreferrer"&gt;d06&lt;/a&gt; helps because several builds sit side by side, so canvases rotate without reloading the phone, and &lt;a href="https://zk7web.online" rel="noopener noreferrer"&gt;h5.zk7&lt;/a&gt; works as a second surface since it allocates its own and gives up first.&lt;/p&gt;

&lt;p&gt;Single-page releases are the lighter version of the same test. &lt;a href="https://8180slot.online" rel="noopener noreferrer"&gt;8180&lt;/a&gt; leaves little behind when a tab closes, while &lt;a href="https://aa62.online" rel="noopener noreferrer"&gt;aa62&lt;/a&gt; only fails once a second canvas of the same build is open. One surface per page is survivable; three is not.&lt;/p&gt;

&lt;p&gt;What changed was the recovery path, not the phone's speed: builds such as &lt;a href="https://ayuwinweb.online" rel="noopener noreferrer"&gt;ayuwin&lt;/a&gt; came back with a rebuilt texture cache instead of a full reload, so the round resumed where it stopped and players noticed only a two-second freeze.&lt;/p&gt;

</description>
      <category>android</category>
      <category>gaming</category>
      <category>webdev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>The First Tap Never Counts: Touch Latency in Mobile Web Games</title>
      <dc:creator>Eka Putri</dc:creator>
      <pubDate>Wed, 11 Nov 2026 23:56:06 +0000</pubDate>
      <link>https://dev.to/ekaputri_game/the-first-tap-never-counts-touch-latency-in-mobile-web-games-1be4</link>
      <guid>https://dev.to/ekaputri_game/the-first-tap-never-counts-touch-latency-in-mobile-web-games-1be4</guid>
      <description>&lt;p&gt;I logged every tap that did nothing for a week. On a mid-range Android phone the pattern was embarrassingly consistent: the first tap on a freshly loaded H5 game page produced no response at all, the second one hit the button I was aiming at. Put the timestamps side by side and the cause stops being mysterious.&lt;/p&gt;

&lt;p&gt;The browser is not slow, it is waiting. After a page settles, a touch can still be read as the opening half of a double-tap gesture, so the engine holds the event for a few hundred milliseconds to see whether a second finger arrives. On a long article nobody notices. On a game where you tap a moving target, the page feels asleep.&lt;/p&gt;

&lt;p&gt;The cheap fix is one CSS line: &lt;code&gt;touch-action: manipulation&lt;/code&gt; on the tap surface, which tells the engine that zoom-on-double-tap is not wanted here. I test it against two deliberately different shells — the light entry at &lt;a href="https://gowinslot.online" rel="noopener noreferrer"&gt;gowin&lt;/a&gt; and the H5 route at &lt;a href="https://ri188.online" rel="noopener noreferrer"&gt;h5.ri188&lt;/a&gt; — because a thin page hides the delay while a heavier one keeps it visible under first paint.&lt;/p&gt;

&lt;p&gt;Two more things matter as much. Tap targets below 48 px turn into misses as soon as the thumb rolls, and any canvas redraw under a resting finger will swallow the next tap entirely. A browsable demo at &lt;a href="https://rpvip2.online" rel="noopener noreferrer"&gt;rpvip2&lt;/a&gt; and a packaged &lt;a href="https://svip5web.online" rel="noopener noreferrer"&gt;svip5 apk&lt;/a&gt; both load quickly enough to show this plainly: latency is rarely the network, it is scheduling.&lt;/p&gt;

&lt;p&gt;Keep the tap surface still, declare the gesture, and measure with a real thumb instead of DevTools touch emulation. The last shell in my notes, &lt;a href="https://hokiwinweb.online" rel="noopener noreferrer"&gt;hokiwin&lt;/a&gt;, is a useful reminder of the boring version: one tap, one response, no ceremony.&lt;/p&gt;

</description>
      <category>android</category>
      <category>gaming</category>
      <category>webdev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>Why a Mobile Web Game Goes Silent After a Phone Call</title>
      <dc:creator>Eka Putri</dc:creator>
      <pubDate>Wed, 11 Nov 2026 00:03:45 +0000</pubDate>
      <link>https://dev.to/ekaputri_game/why-a-mobile-web-game-goes-silent-after-a-phone-call-2452</link>
      <guid>https://dev.to/ekaputri_game/why-a-mobile-web-game-goes-silent-after-a-phone-call-2452</guid>
      <description>&lt;p&gt;Halfway through a round my phone rang. I took the call on speaker, hung up, and the game was still running — canvas moving, counter climbing, taps registering — with no sound at all. Nothing on the screen said muted.&lt;/p&gt;

&lt;p&gt;That silence is not random. Android hands audio focus to the dialer, and the browser tab is not guaranteed to get it back. A plain &lt;code&gt;&amp;lt;audio&amp;gt;&lt;/code&gt; element stays paused. A WebAudio context drops to &lt;code&gt;suspended&lt;/code&gt;. Or the tab keeps decoding while the system keeps it muted until something asks for focus again. From the outside all three look identical, and all three look like a broken game.&lt;/p&gt;

&lt;p&gt;Two entries I opened to compare the symptom handle it differently. &lt;a href="https://lobbyweb.online" rel="noopener noreferrer"&gt;lobby apk&lt;/a&gt; comes back with its sound icon flipped to off, so at least the state is visible. &lt;a href="https://rpvip3.online" rel="noopener noreferrer"&gt;h5.rpvip3&lt;/a&gt; looks alive but stays quiet until you reload the page, and nothing on screen tells you why.&lt;/p&gt;

&lt;p&gt;The three that behave better all recover on the first touch. &lt;a href="https://day777.online" rel="noopener noreferrer"&gt;day777&lt;/a&gt; picks the audio up as soon as I tap the table. &lt;a href="https://ina777.online" rel="noopener noreferrer"&gt;ina777 apk&lt;/a&gt; needs one deliberate tap near the controls, then keeps sound for the rest of the session. &lt;a href="https://7svip.online" rel="noopener noreferrer"&gt;7svip&lt;/a&gt; just restarts the current track, which is crude and never leaves me guessing.&lt;/p&gt;

&lt;p&gt;The fix is two small listeners: watch &lt;code&gt;statechange&lt;/code&gt; on the audio context, and resume from a real &lt;code&gt;pointerdown&lt;/code&gt; once the tab is visible again. Test it with an actual call, not DevTools emulation — the interruption comes from the system, and the emulator never takes that path.&lt;/p&gt;

</description>
      <category>android</category>
      <category>gaming</category>
      <category>webdev</category>
      <category>mobile</category>
    </item>
    <item>
      <title>What Happens to a Web Game When You Switch Apps Mid-Round</title>
      <dc:creator>Eka Putri</dc:creator>
      <pubDate>Tue, 10 Nov 2026 10:47:04 +0000</pubDate>
      <link>https://dev.to/ekaputri_game/what-happens-to-a-web-game-when-you-switch-apps-mid-round-2116</link>
      <guid>https://dev.to/ekaputri_game/what-happens-to-a-web-game-when-you-switch-apps-mid-round-2116</guid>
      <description>&lt;p&gt;I spent a morning switching away from a running H5 game and timing how long it takes to feel usable again. Not to farm a score, but to see whether the page survives being backgrounded on a phone with 3 GB of RAM and a dozen other tabs.&lt;/p&gt;

&lt;p&gt;Three things break, in this order. Timers slow down: mobile Chrome clamps &lt;code&gt;setTimeout&lt;/code&gt; in a hidden tab to roughly once a minute. Then the animation loop stops, so the state the code believes in drifts away from the frame the player last saw. Finally, if the tab stays hidden long enough, the page can be discarded and reloaded from cache.&lt;/p&gt;

&lt;p&gt;The last case is the one players notice. A round that looked paused restarts, and whatever lived only in memory is gone. &lt;a href="https://555zk.online" rel="noopener noreferrer"&gt;555zk&lt;/a&gt; comes back on the screen I left, which is what I want from a page I reopen by habit. &lt;a href="https://luckyrp.online" rel="noopener noreferrer"&gt;luckyrp&lt;/a&gt; pauses instead of letting its clock run on, so nothing is lost while I am answering a message in another app.&lt;/p&gt;

&lt;p&gt;Storage is the other half. &lt;a href="https://qtgame.online" rel="noopener noreferrer"&gt;qtgame apk&lt;/a&gt; has kept its saved state through three forced closes, so progress does not depend on the tab staying alive. &lt;a href="https://8qr.online" rel="noopener noreferrer"&gt;8qr apk&lt;/a&gt; is slower to resume but consistent, and &lt;a href="https://rr777web.online" rel="noopener noreferrer"&gt;rr777&lt;/a&gt; reloads rather than resuming, a fair trade when the reload is quick.&lt;/p&gt;

&lt;p&gt;The fix is small. Listen for &lt;code&gt;visibilitychange&lt;/code&gt;, write the round state to storage before the tab hides, and rebuild from that state on &lt;code&gt;pageshow&lt;/code&gt; instead of assuming the DOM is still there. Test it by backgrounding the tab for two minutes, not two seconds.&lt;/p&gt;

&lt;p&gt;None of this is about winning anything. It is about not losing a round to a phone call. If you build for mobile, switch apps mid-session and watch what comes back.&lt;/p&gt;

</description>
      <category>android</category>
      <category>gaming</category>
      <category>webdev</category>
      <category>mobile</category>
    </item>
  </channel>
</rss>
