Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Inside Limn Engine: How a 360-Level Raycast FPS Runs in a Single HTML File

Inside Limn Engine: How a 360-Level Raycast FPS Runs in a Single HTML File When I set out to build NULLPOINT , a retro-style browser FPS with 12 seasons and 360 procedurally generated levels, I had one strict rule: no build tools, no npm, and no complex bundlers. Everything had to run from a single HTML file. To pull this off, I used Limn Engine ( epic.js ). If you look at Limn, you won't find a…

Limn Engine, a minimalist HTML5 Canvas wrapper, was used by the author to build a first-person shooter (FPS) game called NULLPOINT with 360 procedurally generated levels. The engine operates on a single HTML file, adhering to the author's strict rule of no build tools, no npm, and no complex bundlers. Limn handles the essential components of the game, such as the display, camera, submit loop, input capture, and basic physics, allowing the developer to focus on creating the game mechanics.

The engine's performance is boosted by a "fake" offscreen canvas, which caches static elements like tilemaps, backgrounds, and UI frames. This cached canvas is then drawn onto the visible canvas using the drawImage method, resulting in a high frame rate even on low-end hardware. The game's core architecture consists of a Display controller and a Component base class for game objects, but NULLPOINT ignores most of Limn's API, treating it as a high-performance bootstrapper.

NULLPOINT customizes the raycasting engine and writes its own raycasting math from scratch, drawing vertical slices for walls and enemies using the raw display.context (2D Context API) instead of Limn's built-in systems. The game is powered by Web Audio API for sound effects and music, eliminating the need for external .mp3 files. Overall, Limn provides the necessary canvas, camera, and loop functionality, allowing developers to build complex games in a single HTML file with minimal overhead.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

I Built a Python Tool to Analyze Googlebot Server Logs

How to parse access logs, identify crawler requests, detect HTTP errors, and build a simple crawling diagnostics report with Python.

  • Python tool analyzes Googlebot server logs
  • Script uses regular expressions to extract fields
  • Results exported to CSV format

Why COBOL's COMP-3 still knocks down integrations with Pix and ISO 20022 (and an open-source tool)

Who works with backend engineering in banks, acquirers or fintechs in Brazil is well aware of a curious contrast: at the client end, the system settles transactions in seconds via Pix and exchanges…

  • COMP-3 (Packed Decimal) format in COBOL hinders integration with Pix and ISO 20022.
  • Iron-Silicon Bridge open-source tool helps understand and debug COMP-3 format.
  • Tool runs in browser, no backend needed, accessible at specified URLs.

Your agent's rule pack is only as good as its install script

This is the adapted syndication of a longer review first published on AI Stack Lab: RulePort Review: I Ran Its Installer Six Ways . The blogger version has the full command-by-command transcript.

  • RulePort promises single source of truth and reliable installer
  • Installer tested deterministic and idempotent, skipping existing files

PulseFlow: Turning a Webcam into a Real-Time Human-Sensing Experience

This is a submission for the Presage SmartSpectra SDK Challenge . PulseFlow: Turning a Webcam into a Real-Time Human-Sensing Experience Your body, in real time.

  • PulseFlow transforms webcam into real-time human-sensing device
  • Monitors heart rate, breathing rate in live interface
  • Offers guided breathing sessions with performance summary

More from Sunday 22 November →