Urgent.News

What's breaking now, across thousands of outlets.

Tech

I built a small C++ game engine so an AI IDE could touch the whole thing

Originally posted on Medium . I wanted to make a game. I also wanted the AI IDE on my desk to edit the whole running process, not just the scripts. Godot still makes you do linking and scene wiring in the UI. Unreal would not run on this laptop. Writing a raw Vulkan renderer from scratch meant months before I could drop a cube on screen. So I took the middle: Diligent Engine for the GPU, and I…

In his pursuit of creating a game, the author also aimed to enable an AI IDE to interact with and modify the entire running process, not just the scripts. Frustrated by the complexities of popular engines like Godot and Unreal, he sought a more lightweight solution. Diligent Engine offered a middle ground, supporting multiple APIs including Vulkan, D3D12, Metal, D3D11, and GL, without overwhelming the developer with unnecessary features.

The game engine, named Sapana, was built using Diligent Engine for GPU rendering, along with EnTT for ECS, JSON-based scenes, and Jolt physics. Sapana's rendering capabilities include basic and PBR modes, procedural sky, cascaded shadows, and frustum culling. The physics system is based on Jolt 5.3.0, with static and dynamic bodies, box and plane shapes.

Flight controls feature four virtual motor forces at the arm corners, with tunables in the flight.json configuration file. Cameras offer freelook, chase, and FPV modes. Input configurations are managed through JSON files. The engine was designed to run smoothly on Intel HD 620, an integrated graphics card, necessitating low draw calls and efficient resource management.

The sandbox demonstrates the engine's capabilities, featuring a quad, flying drone, static trees, and a flyable craft with various flight profiles. While Sapana is not a full-fledged product or an Unreal alternative, it serves as a compact engine tailored for specific gaming scenarios with limited VRAM, where the entire workflow can be managed by an AI IDE editing files and JSON configurations.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Context Plugins: Typed SDK References for Agent API Integration

Coding agents write working API calls. They struggle to write shippable API calls. The gap is not authentication or endpoint discovery.

  • Context Plugins combine API documentation with typed SDK references for specific languages.
  • Automatically detects API integrations and injects relevant plugins for language-specific examples.
  • Registry is open for community use, allowing easy addition of plugins to agent configurations.

TypeScript Access Modifiers in 2026: Why `private` Fields Beat `#` and When the Opposite Is True

TypeScript Access Modifiers in 2026: Why private Fields Beat # and When the Opposite Is True This article was written with the assistance of AI, under human supervision and review.

  • private fields are TypeScript type system modifiers, not runtime security features
  • # fields enforce runtime privacy through WeakMap storage in ECMAScript
  • Choose private for documentation, # for hostile environments or reflection-based tooling

Is This Really Required? Meet gh stack

🦄 I'm writing this post much earlier than I usually would for all of my work friends. I've been using gh stack since the preview was made available in the GitHub UI a few weeks ago.

  • Gh stack extension improves handling multiple branches in large pull requests.
  • Allows stacking branches to keep diffs contained and released in a single merge.
  • Extension automates workflow using agent skill installed from GitHub's quickstart page.

Foldable iPhone Ultra: The Latest Rumors Before Apple's Event

We're less than a week away from the debut of Apple's first foldable iPhone, and rumors have been picking up as the event date approaches. Here's the latest.

  • iPhone Ultra foldable device to debut at Apple's September 9 event
  • iPhone Ultra features MagSafe charging, minimal crease design, and Touch ID
  • Supports two-lens camera system, A20 Pro chip, and iOS 27 enhancements

More from Thursday 3 September →