DESTINY
3D Action2D · 120Hz139.9 KB Cartridge

Mirage Bazaar: Lantern Vault

5-stage Arabian bazaar action-platformer with scimitar projectile deflection, striped awning springs, camel bounces, rope swinging, Starlight Lantern bursts, Serpent Guardian boss battle, and Sky-Loom molten vault escape.

120 FPS·8.3 ms·TTI 38 ms (<300ms)·Score 0·Seed #1993·DST-DDE185

[02 // MULTI-MODAL INPUT BRIDGE · ZERO INPUT BUFFERING LAG]

Controls Guide — Keyboard, Touch & Bluetooth Gamepad

01 · DesktopKeyboard & Mouse

Direct Key & Pointer Matrix

WASD / Arrows run & vault · Space / J scimitar slash & deflect · K / E throw apple · B Shop · R Reset

02 · Mobile & TabletTouch HUD

Adaptive Touch & Virtual D-Pad

Responsive Touch Stage + On-Screen D-Pad & A/B/X/R Action Buttons (393x852 & 768x1024 verified)

03 · ControllerDualSense · Xbox · MFi

Standard HTML5 Gamepad API

Standard HTML5 Gamepad API — Left Stick / D-Pad Move · South [A] Primary Action · East [B] Secondary · Start Pause

Engine & Gameplay Highlights

  • Compiled from Destiny Game Studio (Features/GameEngine/DestinyMirageBazaarEngine.swift)
  • Deterministic Mulberry32 URL seed (?seed=1993) + real-time ?challenge= score verification
  • Under 34 KB gzipped · 0 external network requests · Keyboard, Touch & Gamepad ready

[03 // ARCHITECTURAL BREAKDOWN · NATIVE macOS GAME STUDIO]

How Destiny Game Studio Built This (ECS + Metal Shaders)

Inside Destiny on Apple Silicon, Mirage Bazaar: Lantern Vault runs on the deterministic GameECSKernel and compiles down to a 139.9 KB zero-dependency web cartridge.

Simulation Tick

120 Hz

Entity Pool

64 Entities

Physics Solver

2x Substep

Active ECS Component Stores & Binary Header

GameTransformGameRigidBodyGameColliderGameBehaviorDSTC 0x44535443 · BESPOKE

World state snapshots pack into a 13-byte DSTC header + zlib payload, enabling instant seed replay (?seed=1993), score challenges, and 1-click live editing inside Destiny for Mac.

Open ECS World in Destiny for Mac →destiny://play/mirage-bazaar
AuroraBloomGlow + CRTArcadeScanlines.metalMetal Compute · Calibrated
// Destiny Game Studio · AuroraBloomGlow + CRTArcadeScanlines
#include <metal_stdlib>
using namespace metal;

kernel void destinyStagePass(
    texture2d<float, access::read> inTex [[texture(0)]],
    texture2d<float, access::write> outTex [[texture(1)]],
    constant float &time [[buffer(0)]],
    uint2 gid [[thread_position_in_grid]]
) {
    if (gid.x >= outTex.get_width() || gid.y >= outTex.get_height()) return;
    float4 sample = inTex.read(gid);
    float luma = dot(sample.rgb, float3(0.2126, 0.7152, 0.0722));
    if (luma > 0.58) {
        sample.rgb += sample.rgb * (0.24 + 0.08 * sin(time * 3.0));
    }
    outTex.write(sample, gid);
}