# 浏览器游戏

浏览器游戏是一种在网页浏览器内运行的电子游戏，用户无需下载或安装；浏览器本身通常是运行它所需的唯一客户端应用程序。<sup>[1](https://guul.games/blog/what-are-browser-games-a-guide-to-html-5-games-for-apps)</sup><sup> • </sup><sup>[2](https://www.mirlabs.org/ijcisim/regular_papers_2013/Paper81.pdf)</sup> 现代浏览器游戏基于HTML5、[JavaScript](https://www.edgepedia.org/zh/javascript)、WebGL和[WebAssembly](https://www.edgepedia.org/zh/webassembly)等开放网络标准运行，涵盖从简单的每日谜题到硬件加速的3D游戏。<sup>[1](https://guul.games/blog/what-are-browser-games-a-guide-to-html-5-games-for-apps)</sup><sup> • </sup><sup>[3](https://gamingtopics.com/page/why-browser-games-are-back)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义特征 | 完全在网页浏览器内运行，使用HTML5、JavaScript和WebGL，无需下载或安装<sup>[1](https://guul.games/blog/what-are-browser-games-a-guide-to-html-5-games-for-apps)</sup> |
| 最早的技术 | Java小程序，通过`<applet>`标签直接嵌入HTML，比Flash早数年运行交互式浏览器游戏<sup>[4](https://coolflashgames.org/games/before-flash-java-applet-games/)</sup> |
| 主导时代 | Macromedia Flash（1996年以FutureSplash之名发布，1997年更名为Flash）在2000年代初取代Java小程序，成为浏览器游戏的主导技术<sup>[5](https://dinogame.gg/blog/25-years-of-browser-gaming/)</sup> |
| 插件时代的终结 | Adobe于2017年宣布Flash将终结，支持于2020年结束；微软也对其Edge浏览器发布了类似声明<sup>[6](https://time.com/4874334/adobe-flash-2020/)</sup> |
| 当前技术栈 | WebGL无需插件即可提供硬件加速的2D和3D图形；WebAssembly运行来自C++和Rust等语言的编译代码<sup>[7](https://arxiv.org/abs/1904.13071)</sup><sup> • </sup><sup>[8](https://www.tomshardware.com/tech-industry/ascii-cyberpunk-city-prototype-runs-on-rust-webassembly-engine-and-webgl-shaders)</sup> |
| 保存 | Flashpoint档案馆始于2017年12月，已保存超过20万款基于网络的游戏、动画和互动体验，涵盖一百多种网络技术<sup>[9](https://flashpointarchive.org/?lang=en)</sup> |
| 玩家行为 | 在2026年Poki委托的一项调查中，54%的消费者经常或非常频繁地与朋友或家人一起玩网页游戏，44%的消费者即使在进行多任务处理时仍将主要注意力放在浏览器游戏上<sup>[10](https://poki.com/blog/state-of-web-gaming-report-2026)</sup> |

## 历史

**Java小程序。** 最早的浏览器游戏是Java小程序，它们将真正的交互式游戏直接嵌入HTML中运行。<sup>[11](https://zeropass.live/blog/history-of-browser-games)</sup><sup> • </sup><sup>[4](https://coolflashgames.org/games/before-flash-java-applet-games/)</sup> 小程序游戏从未建立起Flash后来那种休闲游戏门户生态；没有形成主要围绕Java内容的[Newgrounds](https://www.edgepedia.org/zh/newgrounds)或Kongregate的等价物。它们确实展示了这种媒介的基本理念：只要进入游戏所需的努力足够小，玩家就愿意在网页中直接参与一款真正的、基于代码的游戏。<sup>[4](https://coolflashgames.org/games/before-flash-java-applet-games/)</sup>

**Flash时代。** Macromedia Flash于1996年以FutureSplash之名发布，1997年更名为Flash，在2000年代初取代Java小程序成为浏览器游戏的主导技术。<sup>[5](https://dinogame.gg/blog/25-years-of-browser-gaming/)</sup> 该插件将静态网页变成了可以呈现动画、响应输入并运行真正游戏的东西，其入门门槛低到独立开发者和青少年可以在自己的卧室里学会它。<sup>[12](https://dubdoo.com/blog/history-flash-html5)</sup> 整个2000年代，大量受众——其中许多人在上班时玩——熟悉了Flash游戏的矢量图形、流畅的关键帧动画和快节奏机制。<sup>[13](https://www.mclibre.org/descargar/docs/revistas/wireframe/wireframe-42-en-202009.pdf)</sup> Newgrounds和Kongregate等门户网站围绕这些内容成长起来，这一时期被视为浏览器游戏的创意高峰。<sup>[4](https://coolflashgames.org/games/before-flash-java-applet-games/)</sup><sup> • </sup><sup>[14](https://dinogame.gg/blog/flash-era-games-still-playable/)</sup>

**崩溃与HTML5过渡。** Adobe于2017年宣布Flash将于2020年消亡，微软也对其Edge浏览器发布了类似声明；全面迁移到HTML5预计将带来更安全的体验和更长的电池续航。<sup>[6](https://time.com/4874334/adobe-flash-2020/)</sup> 向HTML5的过渡最终变得可行，许多Flash游戏被移植或以HTML5形式重建。<sup>[5](https://dinogame.gg/blog/25-years-of-browser-gaming/)</sup> 保存项目填补了这一空白：Flashpoint档案馆始于2017年12月，已保存超过20万项体验，涵盖一百多种现代和传统网络技术，包括Flash、Shockwave和HTML5；Ruffle模拟器无需原始插件即可在浏览器中运行Flash游戏。<sup>[9](https://flashpointarchive.org/?lang=en)</sup><sup> • </sup><sup>[15](https://github.com/darkraise/flashpoint-web)</sup>

## 技术

现代浏览器游戏由一组标准化API而非插件构建。MDN的游戏开发文档将该平台映射如下：图形通过WebGL——[OpenGL ES](https://www.edgepedia.org/zh/opengl-es) 2.0的网络实现；音频通过[Web Audio API](https://www.edgepedia.org/zh/web-audio-api)；输入通过触摸事件、游戏手柄API、指针锁定API和全屏API；网络通过[WebSockets](https://www.edgepedia.org/zh/websockets)和WebRTC；存储通过IndexedDB；后台线程通过Web Workers。<sup>[16](https://developer.mozilla.org/en-US/docs/Games/Introduction)</sup> WebGL是一项浏览器功能，让JavaScript控制图形处理器，无需插件即可渲染交互式3D和2D图形。<sup>[7](https://arxiv.org/abs/1904.13071)</sup>

**WebAssembly**（Wasm）是一种可移植的低级字节码，由四大浏览器厂商的工程师协作设计，其诞生是因为JavaScript在历史上偶然成为网络上唯一原生支持的编程语言，而Java、Flash和ActiveX仅通过插件存在。<sup>[17](https://css.csail.mit.edu/6.5660/2024/readings/wasm.pdf)</sup> 尽管WebAssembly能够执行编译后的游戏代码，但它本身不具备渲染图形或提供浏览器功能的能力；相反，JavaScript与浏览器API一起将其与渲染、输入、声音、存储和网络连接起来。<sup>[18](https://www.itechguides.com/how-browser-based-game-ports-work-webassembly-webgl-and-emulation-explained/)</sup> 其性能仍落后于原生代码：在[SPEC CPU](https://www.edgepedia.org/zh/spec-cpu)基准测试套件中，编译为WebAssembly的应用程序在Firefox中平均慢45%，在Chrome中平均慢55%，峰值减速分别为2.08倍和2.5倍。<sup>[19](https://arxiv.org/abs/1901.09056)</sup>

尽管如此，这种组合仍能运行大型游戏。开源逆向工程项目通过将反编译的C++编译为WebAssembly并通过WebGL 2渲染，将《GTA III》和《GTA Vice City》带到了浏览器；测试人员在桌面电脑上测得超过100 FPS，高于原游戏目标的30 FPS。<sup>[20](https://www.tomshardware.com/video-games/gta-vice-city-and-gta-iii-return-to-web-browsers-after-a-dmca-takedown-open-source-reverse-engineering-brings-the-classics-to-the-web-with-over-100-fps-performance)</sup> 一个2026年的可行走3D赛博朋克城市原型运行在283 KB的Rust WebAssembly引擎上，为WebGL渲染器提供数据。<sup>[8](https://www.tomshardware.com/tech-industry/ascii-cyberpunk-city-prototype-runs-on-rust-webassembly-engine-and-webgl-shaders)</sup>

## 分发与受众

浏览器游戏通过门户网站、嵌入式小部件和直接链接触达玩家。由于网络无处不在，HTML游戏可在智能手机、平板电脑、个人电脑和智能电视上运行，开发者可以掌控支付、更新和分析，而不必将收入份额交给商店或等待批准才能发布修复。<sup>[16](https://developer.mozilla.org/en-US/docs/Games/Introduction)</sup> 平台还可以通过API、iFrame或SDK嵌入整个游戏库，而无需自己构建游戏基础设施。<sup>[1](https://guul.games/blog/what-are-browser-games-a-guide-to-html-5-games-for-apps)</sup>

受众广泛且以休闲玩家为主。2026年由浏览器游戏门户Poki委托、市场研究机构Atomik Research进行的一项研究发现，56%的受访者在玩网页游戏时听音乐，49%在Netflix或YouTube等服务上观看节目，38%同时使用社交媒体，44%在进行多任务处理时仍将主要注意力放在浏览器游戏上；54%经常或非常频繁地与朋友或家人一起玩网页游戏。<sup>[10](https://poki.com/blog/state-of-web-gaming-report-2026)</sup> 基于网络的游戏也是教育领域的常备工具：Blooket和Kahoot等免费平台被用于课堂复习环节，学校配发的Chromebook助推了这一增长。<sup>[21](https://www.theatlantic.com/technology/2026/05/homework-video-games-ed-tech/687198/)</sup>

**无障碍**是一个活跃的关注点。交互式网页游戏对某些学生而言可能是无障碍和包容性方面的挑战，面向开发者的指南涵盖为非视觉用户描述场景、一致的结构以及键盘和单开关交互，使用HTML5、CSS、SVG和JavaScript等标准网络技术，以便辅助技术能够理解内容。<sup>[22](https://handbook.floeproject.org/approaches/web-games-and-simulations/)</sup>

## Flash时代以来的变化

这种媒介在能力发展上经历了一次轮回。一部关于浏览器游戏的学术史描述了从1990年代初最早的文本游戏到当前开放世界和游戏引擎驱动的浏览器游戏的发展历程，浏览器从简单的文本文档查看器演变为具有高级图形和网络能力的复杂软件栈。<sup>[23](https://arxiv.org/abs/2304.14791)</sup>

## References

1. [Browser games: what they are and how they work, Guul Games](https://guul.games/blog/what-are-browser-games-a-guide-to-html-5-games-for-apps)
2. [On the Development of Browser Games, IJCISIM](https://www.mirlabs.org/ijcisim/regular_papers_2013/Paper81.pdf)
3. [Why Browser Games Are Back: Flash, HTML5, and WebGL Explained, Gaming Topics](https://gamingtopics.com/page/why-browser-games-are-back)
4. [Before Flash: Java Applet Games and the Pre-2000 Browser Gaming Era, Cool Flash Games](https://coolflashgames.org/games/before-flash-java-applet-games/)
5. [25 Years of Browser Gaming (1999-2024), Dinogame GG](https://dinogame.gg/blog/25-years-of-browser-gaming/)
6. [Adobe Flash Will Be Dead in 3 Years, and It's About Time, TIME](https://time.com/4874334/adobe-flash-2020/)
7. [The Risks of WebGL: Analysis, Evaluation and Detection, arXiv](https://arxiv.org/abs/1904.13071)
8. [ASCII cyberpunk city prototype runs on Rust WebAssembly engine and WebGL shaders, Tom's Hardware](https://www.tomshardware.com/tech-industry/ascii-cyberpunk-city-prototype-runs-on-rust-webassembly-engine-and-webgl-shaders)
9. [Flashpoint Archive](https://flashpointarchive.org/?lang=en)
10. [The 2026 State of Web Gaming: Developer & Player Study, Poki](https://poki.com/blog/state-of-web-gaming-report-2026)
11. [A Brief History of Browser Games: Flash, the Crash, and What Came After, ZeroPass Blog](https://zeropass.live/blog/history-of-browser-games)
12. [The History of Flash Games and How HTML5 Saved Browser Gaming, dubdoo Blog](https://dubdoo.com/blog/history-flash-html5)
13. [Flash Back: preserving a gaming legacy, Wireframe 42](https://www.mclibre.org/descargar/docs/revistas/wireframe/wireframe-42-en-202009.pdf)
14. [10 Flash Era Games You Can Still Play in 2026, Dinogame GG](https://dinogame.gg/blog/flash-era-games-still-playable/)
15. [flashpoint-web: self-hosted Flashpoint archive, GitHub](https://github.com/darkraise/flashpoint-web)
16. [Introduction to game development for the Web, MDN](https://developer.mozilla.org/en-US/docs/Games/Introduction)
17. [Bringing the Web up to Speed with WebAssembly, MIT](https://css.csail.mit.edu/6.5660/2024/readings/wasm.pdf)
18. [How Browser-Based Game Ports Work: WebAssembly, WebGL, and Emulation Explained, iTechGuides](https://www.itechguides.com/how-browser-based-game-ports-work-webassembly-webgl-and-emulation-explained/)
19. [Not So Fast: Analyzing the Performance of WebAssembly vs. Native Code, arXiv](https://arxiv.org/abs/1901.09056)
20. [GTA Vice City and GTA III return to web browsers after a DMCA takedown, Tom's Hardware](https://www.tomshardware.com/video-games/gta-vice-city-and-gta-iii-return-to-web-browsers-after-a-dmca-takedown-open-source-reverse-engineering-brings-the-classics-to-the-web-with-over-100-fps-performance)
21. [My Son's Math Homework Is Essentially Just Pokémon, The Atlantic](https://www.theatlantic.com/technology/2026/05/homework-video-games-ed-tech/687198/)
22. [Web Games and Simulations, Inclusive Learning Design Handbook](https://handbook.floeproject.org/approaches/web-games-and-simulations/)
23. [Caught in the Game: On the History and Evolution of Web Browser Gaming, arXiv](https://arxiv.org/abs/2304.14791)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 21, 2026 · Edited: Oct 15, 2026; Oct 21, 2026 · Last review: Oct 21, 2026*

Topic: 体育、游戏与休闲 › 电子游戏与数字游戏 › 游戏与玩法 › Game genres › Puzzle, casual, and multiplayer-structure genres › Browser and .io games

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/browser-game

English original: https://www.edgepedia.org/browser-game
