Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

PSEC-99: A 3D Browser Game in C# and WASM, Without WebGL

说明与用途

PSEC‑99 展示了使用 C# 和 WebAssembly 构建的 3D 浏览器游戏,直接渲染到单像素缓冲区,避免使用 WebGL,实现高效性能。

问题

Web apps often struggle with CPU and memory usage when rendering simple UIs, yet a 3D game can run efficiently in the browser using C# and WebAssembly.

结果

PSEC‑99 demonstrates that a 3D browser game can run efficiently using pure C# and WebAssembly, avoiding WebGL and reducing CPU/memory overhead.

工作流

  • 1. Convert the 1982 TI‑99/4A game into a 3D model.
  • 2. Implement 3D math, projection and rasterization in C#.
  • 3. Render the scene into a single int[] pixel buffer row by row.
  • 4. Use OpenSilver’s WriteableImage to copy the buffer to an HTML canvas.
  • 5. Play the game in the browser (or run locally with .NET 10/WASM).

证据

They took a 1982 TI-99/4A game and turned it into a 3D browser experience using C#/WASM and an int[] pixel buffer. No WebGL.

来源

Their entire 3D scene is drawn in C# into a single pixel buffer (yes, just one!) in .NET memory, then displayed on an HTML canvas through OpenSilver 3.4 Preview’s new WriteableImage XAML control.

来源

  • 记录日期: 2026-10-19T04:56:22.873Z