跳到正文
DEV Community· Jonie Rangel·· 2 小時前AI 評分20

V.E.T.O.R — A Ruptura:HTML5 Canvas 動作角色扮演遊戲架構與 Limbo Spider Boss 戰(Demo V6.2 開放)

V.E.T.O.R — A Ruptura: Architecture of an HTML5 Canvas Action-RPG & Limbo Spider Boss Fight (Demo V6.2 Available)

AI 導讀

V.E.T.O.R — A Ruptura 展示其自建 HTML5 Canvas 與影片同步引擎,以及 Limbo Spider Boss 戰的設計;遊戲目標是在桌面環境以 60 FPS 運行。Boss 戰結合人質盾牌、每 4 個戰鬥階段穿插 1 個對話階段,以及會永久改變劇情標記和戰術結果的選擇。Windows 版 Demo V6.2 已供預購支持者及受邀測試者試玩,尚未公開發行。

正文

Jonie Rangel

Building a Dual-Layer Canvas & Video Engine for an Indie Sci-Fi Action-RPG

Developing an indie action-RPG with custom tech presents unique rendering and architectural challenges. For V.E.T.O.R — A Ruptura (set 180 years after dimensional rifts fractured reality), we chose not to rely on heavy pre-packaged commercial engines. Instead, we designed a custom HTML5 Canvas rendering pipeline tightly synchronized with dynamic video playback and state-driven tactical pause mechanics.

Here is an architectural breakdown of how the engine functions, how we engineered the high-stakes Limbo Spider encounter, our transparent development workflow, and the current release state of Demo V6.2 for Windows.


1. Engine Architecture: Canvas 2D + Synced Media Layer

The core renderer runs on a high-performance 2D Canvas pipeline optimized for 60 FPS gameplay on desktop environments:

  • State & Logic Loop: Game state, collision detection, entity positioning, and tactical pause calculations are decoupled from the render step.
  • Synchronized Video Underlay/Overlay: Specific pre-rendered environmental anomalies and spatial rifts run in lockstep with the Canvas tick rate. Video timing coordinates with entity actions to ensure visual cohesion without frame hitching.
  • Active Pause / Semi-Turn State Machine: When tactical mode engages, time dilation halts environmental movement while allowing the player to evaluate positional risk, select combat commands, or initiate psychological interaction.

2. Boss Encounter Design: The Limbo Spider & The Hostage Shield

In the Limbo Spider (Aranha do Limbo) boss battle, combat mechanics are intertwined with a high-stakes ethical dilemma:

  • Living Hostage Mechanism: The Limbo Spider holds a living hostage captive as a physical shield. Standard frontal assaults will damage the hostage rather than the anomaly.
  • Pacing Structure (4x Combat / 1x Dialogue): Every sequence balances 4 tactical combat phases with 1 critical dialogue/negotiation phase directly overlaid on the battle soundtrack.
  • Branching Consequences: Eliminating the boss while keeping the hostage alive requires precise timing, repositioning, and selective ability targeting. Harming the hostage alters narrative flags and tactical outcomes permanently.

Watch the complete 149-second Limbo Spider showcase (1080p 60fps, featuring English dialogue and Portuguese HUD):
https://www.youtube.com/watch?v=vtvE_7ay2_4


3. Tooling & Pipeline Transparency

To maintain production velocity on a complex narrative RPG, we embrace a transparent hybrid development pipeline:

  • Codex: Used as an assistive co-pilot for architectural design patterns, algorithm optimization, Canvas math, and visual layout prototyping.
  • Veo: Deployed for generating specific pre-rendered cinematic clips and dimensional rift visual sequences integrated into our synchronized playback subsystem.
  • Voice Acting & Audio: Full localized voice acting and dynamic battle audio engineered to maintain tension across both real-time strikes and tactical pauses.

4. Current Status: Demo V6.2 para Windows Available

We have reached approximately ~80% completion on the Windows build.

As of this update, Demo V6.2 para Windows is available on the official project website for pre-purchasers and invited test participants:

Demo V6.2 Details & Specifications

  • Access Level: Internal test build for pre-order supporters (R$ 69,00 / US$ 11.72 on itch.io) and registered testers (this is an internal test build, not an open public release yet).
  • Included Credits: 2,000 VT allocated for AI-driven dialogue interactions.
  • System Requirements:
    • OS: Windows 11 64-bit
    • CPU: Intel Core i5-8400 or AMD Ryzen 5 2600
    • Memory: 16 GB RAM
    • GPU: NVIDIA GeForce GTX 1050 Ti (4 GB)
    • Storage: 50 GB available space
    • Network: Persistent broadband connection required for interactive dialogue systems.

We welcome feedback from game architects, web technologists, and tactics enthusiasts on our dual-layer Canvas/video rendering approach!

來源:DEV Community · dev.to