A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
{
"version": 4,
"user_brief": {
"materials": "brushed steel, matte painted armor plates, scratched, oil stains, rubber seals, emissive strips only at ports",
"lighting": "strong single key light, rim light, deep contrast, ambient occlusion, volumetric dust",
"palette": "desaturated dark gunmetal, one accent color per module type, limited neon",
"proportions": "heavy industrial, chamfered edges, mechanical realism, no rounded toy shapes",
"references": [
"Dead Space",
"Alien Isolation",
"Starfield",
"Elite Dangerous",
"The Expanse"
],
"geometry_authority": "User-supplied modular_ship_kit.blend and its two graybox images."
},
"assets": [
{
"id": "overview",
"file": "01-industrial-module-overview.png",
"reference_images": [
{
"file": "references/graybox-overview.png",
"role": "edit target, layout and geometry"
},
{
"file": "references/graybox-assembled.png",
"role": "supporting assembly geometry"
}
],
"prompt": "Use case: sketch-to-render.\nAsset type: industrial modular spacecraft KIT OVERVIEW based exactly on the user's graybox.\nInput image 1 is the EDIT TARGET and authoritative layout/shape reference: the user's graybox overview. Input image 2 is supporting reference showing how six of those same parts assemble.\nMake a realistic material/lighting concept sheet of precisely the SAME TWELVE distinct parts from input 1, in the SAME TWO ROWS of SIX and the same viewing directions. Retain relative scale across parts: do not enlarge a small module to fill a cell.\nTop row left to right: 1) HULL 1x1x1, a small cube; 2) HULL 2x2x1, a broad shallow square body; 3) HULL 2x4x1, twice as long with the same width/height; 4) CORRIDOR 2x1x1, a narrow horizontal tube with square end collars; 5) COCKPIT 2x2x1, the same low wedge cockpit with dark canopy; 6) CARGO 2x2x1, a shallow square cargo body with transverse ribs.\nBottom row left to right: 7) REACTOR 2x2x1, a shallow square base with one small central cylindrical cap and four corner posts; 8) ENGINE L 2x2x2, one large bell nozzle pointing left and square mounting plate on the right; 9) THRUSTER 1x1x1, smaller bell nozzle pointing left, square mount on right; 10) TURRET 1x1x1, a compact twin-barrel gun on a traverse base, barrels pointing right; 11) SOLAR 1x1x1, one single flat rectangular panel on a short bracket; 12) DOCK 1x1x1, a short horizontal tube between two end flanges.\nThis list comes from the actual .blend file. It supersedes any previous kit images: do NOT insert a separate small engine, remove the 1x1 hull, replace the round dock tube with a giant square door, invent extra parts, or redesign the kit into little whole spaceships.\nSTRICT shape lock: preserve low hull height, long 2x4 proportions, connector marker locations and counts, the single solar panel rectangle, compact weapons and bell engines. The yellow squares are mechanical interface markers to restyle, NOT toy yellow tiles.\nThe user's material and lighting requirements are authoritative:\nMaterials: brushed steel, matte painted armor plates, scratches, localized oil stains, black rubber seals; emissive strips ONLY at connection ports.\nLighting: one strong dominant key light, secondary rim light, deep contrast, grounded ambient occlusion, subtle volumetric dust.\nPalette: desaturated dark gunmetal, one restrained accent color per module TYPE, very limited neon.\nProportions: heavy industrial, precise narrow chamfered edges, mechanical realism, no rounded toy shapes.\nAtmospheric design references: Dead Space, Alien Isolation, Starfield, Elite Dangerous, The Expanse. Use their grounded manufactured industrial science-fiction qualities, without copying recognizable ships, logos or characters.\nUse physically convincing material response: directional brushed steel revealed on machined edges, dry matte paint on large armor plates, fine scratches concentrated near servicing areas and corners, sparse oily streaks around joints, rubber gaskets around mechanical interfaces. Broad plate planes, modest panel divisions, credible material thickness, no random greeble carpet.\nIMPORTANT: the graybox's large YELLOW SQUARES are connection location markers, NOT yellow decorations to retain. Turn each marker into a dark square mechanical interface plate of the same size and position, with recessed socket, metal latch details and a rubber perimeter seal. Tiny local indicator strips may appear only INSIDE the connector rims. NO glowing hull seams, roof rails, windows, gun barrels, solar panel edges, or continuous neon trims.\nType colors: structural/engine/dock interfaces use restrained amber; reactor interfaces use muted cyan; weapon interface uses muted oxide orange-red; cockpit/corridor use a subdued warm-white interface indicator; cargo uses muted ochre. Treat solar cells as almost-black blue technical material, not an extra neon accent. Each type uses one accent only; accents occupy under 3 percent of visible area. Most of the image is neutral metal and matte dark paint. No giant yellow borders.\nPreserve the graybox's body dimensions and planar proportions. Narrow mechanical chamfers, not inflated rounded bevels. No chibi, miniature-toy, mobile-cartoon, glossy plastic or stylized outlines. This should look like a full-scale manufactured industrial vehicle, rendered with high-end realistic game-asset materials.\nPresentation: an orderly two-row industrial asset catalog on a neutral medium-dark charcoal backdrop, almost orthographic elevated front view matching input 1. Bring the objects closer within the same grid arrangement to use the frame efficiently, but never change their relative scale. All parts completely visible with clear empty gaps; no overlapping labels.\nUse one restrained small off-white technical caption BELOW each module, exactly:\n\"HULL 1x1x1\", \"HULL 2x2x1\", \"HULL 2x4x1\", \"CORRIDOR\", \"COCKPIT\", \"CARGO\";\n\"REACTOR\", \"ENGINE L\", \"THRUSTER\", \"TURRET\", \"SOLAR\", \"DOCK\".\nNo title, no logos, no extra typography. The key light is consistent across all 12 parts, with deep occlusion at joints, restrained rim separation, and barely visible background dust. Keep small parts legible through controlled lighting without making the style cartoonish.\nMaximum available native resolution. This is an art direction render, not a new design of the graybox."
},
{
"id": "assembly",
"file": "02-industrial-assembled-ship.png",
"reference_images": [
{
"file": "references/graybox-assembled.png",
"role": "edit target, assembly silhouette"
},
{
"file": "references/graybox-overview.png",
"role": "supporting module geometry"
}
],
"prompt": "Use case: sketch-to-render.\nAsset type: geometry-faithful industrial spacecraft look-development HERO render.\nInput image 1 is the EDIT TARGET and authoritative silhouette/assembly reference: the user's graybox assembled spacecraft. Input image 2 is supporting geometry reference: the user's 12-part graybox overview.\nTransform the graybox into a grounded, realistic hard-surface spacecraft MATERIAL/LIGHTING study. Preserve the main ship from input 1: camera is above the front-right side; its nose points lower-right, the aft engine is at upper-left. Remove the unrelated cropped kit pieces in the top background.\nSTRICT GEOMETRY LOCK: exactly the original six main modules and their relative placements: ONE large aft bell engine, low rectangular reactor body immediately in front of it, low cargo body in the middle, low wedge cockpit at the right/front, ONE single rectangular solar panel on its short pedestal over the rear reactor body, and ONE two-barrel turret on the central cargo roof. Preserve the same width, length ratios and low body height. The two 4m-square rectangular main body blocks and the low cockpit remain roughly twice as wide as they are tall. The large single engine has about the body width but is taller. Never add a second engine, wings, extra hull pods, new cockpit bridge, satellite dishes, extra solar panels or extra turrets.\nKeep the locations and numbers of the visible yellow square port markers, but reinterpret their appearance according to the material rules below. Keep the solar panel a single flat rectangle. Keep the turret's functional circular traverse base, but give the upper housing precise planar armor surfaces and a compact silhouette; do not turn it into a rounded plastic dome.\nThe user's material and lighting requirements are authoritative:\nMaterials: brushed steel, matte painted armor plates, scratches, localized oil stains, black rubber seals; emissive strips ONLY at connection ports.\nLighting: one strong dominant key light, secondary rim light, deep contrast, grounded ambient occlusion, subtle volumetric dust.\nPalette: desaturated dark gunmetal, one restrained accent color per module TYPE, very limited neon.\nProportions: heavy industrial, precise narrow chamfered edges, mechanical realism, no rounded toy shapes.\nAtmospheric design references: Dead Space, Alien Isolation, Starfield, Elite Dangerous, The Expanse. Use their grounded manufactured industrial science-fiction qualities, without copying recognizable ships, logos or characters.\nUse physically convincing material response: directional brushed steel revealed on machined edges, dry matte paint on large armor plates, fine scratches concentrated near servicing areas and corners, sparse oily streaks around joints, rubber gaskets around mechanical interfaces. Broad plate planes, modest panel divisions, credible material thickness, no random greeble carpet.\nIMPORTANT: the graybox's large YELLOW SQUARES are connection location markers, NOT yellow decorations to retain. Turn each marker into a dark square mechanical interface plate of the same size and position, with recessed socket, metal latch details and a rubber perimeter seal. Tiny local indicator strips may appear only INSIDE the connector rims. NO glowing hull seams, roof rails, windows, gun barrels, solar panel edges, or continuous neon trims.\nType colors: structural/engine/dock interfaces use restrained amber; reactor interfaces use muted cyan; weapon interface uses muted oxide orange-red; cockpit/corridor use a subdued warm-white interface indicator; cargo uses muted ochre. Treat solar cells as almost-black blue technical material, not an extra neon accent. Each type uses one accent only; accents occupy under 3 percent of visible area. Most of the image is neutral metal and matte dark paint. No giant yellow borders.\nPreserve the graybox's body dimensions and planar proportions. Narrow mechanical chamfers, not inflated rounded bevels. No chibi, miniature-toy, mobile-cartoon, glossy plastic or stylized outlines. This should look like a full-scale manufactured industrial vehicle, rendered with high-end realistic game-asset materials.\nComposition: one complete ship occupying roughly 75 percent of a wide landscape frame, with 10 percent breathing room all around. Same three-quarter camera direction as input 1, orthographic-like product framing, all major components fully visible. A neutral dark industrial hangar/studio backdrop, almost abstract, with very subtle dust in the single key light; no unrelated scene props or display pedestal. The main key from upper-left reveals broad surfaces and brushed edges; a narrow cool-neutral rim separates the silhouette. Keep enough reflected light to read the black rubber and dark panels.\nNo text, no captions, no logos, no HUD, no grid overlay, no decorative starfield, no electric-blue engine flame. Preserve the blockout design while achieving realistic materials and lighting. Maximum available native resolution."
},
{
"id": "atmosphere",
"file": "03-industrial-gameplay-atmosphere.png",
"reference_images": [
{
"file": "02-industrial-assembled-ship.png",
"role": "ship identity and material reference"
},
{
"file": "references/graybox-assembled.png",
"role": "supporting graybox geometry"
}
],
"prompt": "Use case: stylized-concept.\nAsset type: realistic gameplay atmosphere visual target for a mobile industrial sci-fi survival builder.\nInput image 1 is the authoritative SHIP IDENTITY and finished material reference. Input image 2 is the supporting graybox geometry reference. This is the exact same ship in a game world, not a new ship design.\nPreserve its six-module layout: ONE large single bell engine at the aft-left, reactor block, cargo block, low wedge cockpit facing front-right, ONE single rectangular solar panel above the rear body, and ONE twin-barrel turret above the middle cargo body. No wings, no extra engines, no side pods, no additional turret, no new cockpit tower. Preserve low shallow hull sections and flat chamfered planar silhouettes. Port positions and sizes follow the references.\nThe user's material and lighting requirements are authoritative:\nMaterials: brushed steel, matte painted armor plates, scratches, localized oil stains, black rubber seals; emissive strips ONLY at connection ports.\nLighting: one strong dominant key light, secondary rim light, deep contrast, grounded ambient occlusion, subtle volumetric dust.\nPalette: desaturated dark gunmetal, one restrained accent color per module TYPE, very limited neon.\nProportions: heavy industrial, precise narrow chamfered edges, mechanical realism, no rounded toy shapes.\nAtmospheric design references: Dead Space, Alien Isolation, Starfield, Elite Dangerous, The Expanse. Use their grounded manufactured industrial science-fiction qualities, without copying recognizable ships, logos or characters.\nUse physically convincing material response: directional brushed steel revealed on machined edges, dry matte paint on large armor plates, fine scratches concentrated near servicing areas and corners, sparse oily streaks around joints, rubber gaskets around mechanical interfaces. Broad plate planes, modest panel divisions, credible material thickness, no random greeble carpet.\nIMPORTANT: the graybox's large YELLOW SQUARES are connection location markers, NOT yellow decorations to retain. Turn each marker into a dark square mechanical interface plate of the same size and position, with recessed socket, metal latch details and a rubber perimeter seal. Tiny local indicator strips may appear only INSIDE the connector rims. NO glowing hull seams, roof rails, windows, gun barrels, solar panel edges, or continuous neon trims.\nType colors: structural/engine/dock interfaces use restrained amber; reactor interfaces use muted cyan; weapon interface uses muted oxide orange-red; cockpit/corridor use a subdued warm-white interface indicator; cargo uses muted ochre. Treat solar cells as almost-black blue technical material, not an extra neon accent. Each type uses one accent only; accents occupy under 3 percent of visible area. Most of the image is neutral metal and matte dark paint. No giant yellow borders.\nPreserve the graybox's body dimensions and planar proportions. Narrow mechanical chamfers, not inflated rounded bevels. No chibi, miniature-toy, mobile-cartoon, glossy plastic or stylized outlines. This should look like a full-scale manufactured industrial vehicle, rendered with high-end realistic game-asset materials.\nScene: the player ship floats near the mouth of a partially destroyed industrial orbital drydock. A large derelict station frame is visible in the upper-right middle distance, with exposed trusses, broken pressure-vessel sections and sparse inert debris. Keep the station in muted shadow so the ship remains the clear subject. No colorful nebula, no magenta flood lighting, no glowing engine plume.\nLighting: one strong distant neutral-to-slightly-warm key light across the metal, a subtle cool-neutral rim light, rich dark occlusion, a little suspended particulate debris in the beam near the station. Use restrained cinematic contrast while keeping hull seams and interface caps readable.\nCamera and mobile composition: wide landscape, orthographic-like three-quarter TOP-DOWN view. The complete player ship is in the lower-left/central area, fully in frame; the complete focal station section is upper-right/central. Leave 12 percent of the frame as calm dark space along all edges for mobile touch controls. Ship occupies about 40 percent of image width, large enough to identify six major modules.\nBuild mode visualization: a sparse, subdued holographic 2m grid localized beneath the player ship, plus ONE translucent small HULL 1x1x1 placement preview next to an unused mechanical interface. Treat this as a restrained UI overlay, not physical neon trim on the ship. No drawn HUD, no text, no logos, no arrows, no giant hologram flood.\nThe cockpit's existing flat canopy panel should read as dark smoked technical glass reflecting the key light, without enlarging its footprint or emitting light. Solar cells remain almost-black and non-emissive. Render high-end PBR-like materials and grounded full-scale mechanical realism. No rounded toy shapes or saturated arcade styling. Maximum available native resolution."
}
]
}