Urgent.News

What's breaking now, across thousands of outlets.

Tech

Building a Custom HTML5 Canvas + Synced Video Engine for Real-Time Combat Dialogue (V.E.T.O.R — A Ruptura)

I am building V.E.T.O.R — A Ruptura , an independent Brazilian action-adventure PC/Windows game running on a custom client engine built with HTML5 Canvas + synchronized MP4 video scenes instead of Unity, Unreal, or Godot. Here is a breakdown of the technical architecture and two recent gameplay milestones showing real-time companion dialogue and multi-language voice switching in combat. 1. Custom…

A Brazilian independent developer is crafting the action-adventure game V.E.T.O.R — A Ruptura using a custom client engine built on HTML5 Canvas and synchronized video scenes, bypassing Unity, Unreal, or Godot. The technical architecture involves an HTML5 Canvas loop layered on top of a synchronized 1280×720 MP4 clip deck, with proximity-based preloading to ensure smooth gameplay.

Foreground props dynamically mask and composite over the active video frame, while client-side combat physics, such as movement, knockback/recoil, hit windows, and HUD bars, run synchronously with the video layer.

During combat, NPCs, allies, and bosses engage in dynamic dialogue that responds to player input in real-time. This eliminates the need for static branching menus. A tolerance and context controller translates tone and dialogue into combat consequences, such as escalating the fight, opening tactical windows, or prompting weak-point scans from the floating robot companion VETOR. A recent encounter was described between ally Albert, VETOR, and an enemy named Tharok.

The game currently supports voice acting and UI in seven languages (Brazilian Portuguese, English, Spanish, French, German, Italian, and Dutch), with language switching occurring seamlessly during battles. The status of the project, as of now, remains active development for PC/Windows without a public demo. For those familiar with Canvas + real-time media or dynamic NPC dialogue, the question arises: How do developers balance combat pacing with readable real-time companion and boss dialogue without overwhelming player attention?

Additionally, what memory or synchronization edge cases should be closely monitored when combining Canvas gameplay loops with synced video streams?

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

I posted 20+ short data videos rendered from code: every video over 25 seconds died, and half the viewers leave by second 3

For two weeks we have been rendering short vertical data videos entirely from code (HTML canvas, Playwright, ffmpeg, some Blender) and posting them to TikTok, YouTube Shorts and Instagram from a…

  • First three seconds crucial for retaining viewers on TikTok, Instagram, YouTube Shorts
  • 44% to 62% of viewers abandon video before three-second mark
  • Well-designed 3D animation retains attention 75% to 88% more than 2D flat design

More from Saturday 14 November →