Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
0cfe3b3
spaceship: scaffold Vite+three FP interior demo with procedural textu…
cursoragent Jun 11, 2026
9fd496e
iter1: first full build + shots; scored rubric (1/9 pass) in PROGRESS.md
cursoragent Jun 11, 2026
7b88f75
iter2: relight (exposure/env/bloom down), transparent glass, visible …
cursoragent Jun 11, 2026
a0505bb
iter3: sun flip + lit planets + ringed crescent, cockpit cast fix, qu…
cursoragent Jun 11, 2026
356705f
iter4: fix N8AO double gamma (root cause of global washout), rebalanc…
cursoragent Jun 11, 2026
405bc86
iter5: calm corridor bloom, brighten floor/galley, push gas giant out…
cursoragent Jun 11, 2026
0c0fcfa
iter6: corridor downlight spots, edge strips, cool cockpit spill, flo…
cursoragent Jun 11, 2026
79aae13
iter7: fixture diffusers, dim galley strip, lived-in props, subtle hover
cursoragent Jun 11, 2026
798d8c7
iter8: break corridor symmetry, deck cable+hazard stripes, grab handles
cursoragent Jun 11, 2026
7501fc2
iter8: full 9/9 rubric pass, scored in PROGRESS.md
cursoragent Jun 11, 2026
3b04fb8
iter9: second consecutive 9/9 pass — stop; final summary in PROGRESS.md
cursoragent Jun 11, 2026
608fea9
deploy: serve spaceship game on GitHub Pages at /spaceship/
cursoragent Jun 12, 2026
18973d5
play: commit built game for direct CDN serving
cursoragent Jun 12, 2026
b76ec1b
Fix pointer-lock noise and z-fighting: unadjustedMovement, delta filt…
cursoragent Jun 12, 2026
c876853
tools: add CDN boot-test script
cursoragent Jun 12, 2026
31afc5c
Fix corridor ceiling light strips hidden inside fixture housings
cursoragent Jun 12, 2026
7c26e52
Add single-file source bundle for handing to coding agents
cursoragent Jun 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
- cursor/virtual-phone-gift-6027
- cursor/spaceship-interior-demo-38d1
workflow_dispatch:

permissions:
Expand All @@ -26,10 +27,23 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: spaceship/package-lock.json

- name: Build spaceship game
run: |
npm ci --prefix spaceship
npm run build --prefix spaceship

- name: Prepare site
run: |
mkdir -p dist
cp -R index.html browser-phone dist/
cp -R spaceship/dist dist/spaceship
cp CNAME dist/CNAME

- name: Setup Pages
Expand Down
5,177 changes: 5,177 additions & 0 deletions play/assets/index-DaZoFckZ.js

Large diffs are not rendered by default.

96 changes: 96 additions & 0 deletions play/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Drifter — Ship Interior</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; }
#app { position: fixed; inset: 0; }
canvas { display: block; }

#hud {
position: fixed; inset: 0; pointer-events: none;
font-family: "Lucida Console", Monaco, monospace;
color: #cfe8e6;
z-index: 10;
}
#reticle {
position: absolute; left: 50%; top: 50%;
width: 6px; height: 6px; margin: -3px 0 0 -3px;
border-radius: 50%;
background: rgba(210, 240, 238, 0.85);
box-shadow: 0 0 6px rgba(25, 212, 208, 0.8);
transition: transform .12s ease, background .12s ease;
}
#reticle.hot { transform: scale(1.7); background: #ffb46a; box-shadow: 0 0 10px rgba(255, 150, 60, .9); }
#prompt {
position: absolute; left: 50%; bottom: 18%;
transform: translateX(-50%);
padding: 8px 18px;
font-size: 15px; letter-spacing: 2px;
color: #ffd9a8;
background: rgba(8, 14, 18, 0.72);
border: 1px solid rgba(255, 180, 106, 0.45);
border-radius: 3px;
opacity: 0; transition: opacity .15s ease;
text-transform: uppercase;
}
#prompt.on { opacity: 1; }
#status {
position: absolute; left: 22px; top: 18px;
font-size: 13px; letter-spacing: 1.6px;
color: rgba(160, 226, 222, 0.92);
text-shadow: 0 0 8px rgba(25, 212, 208, 0.35);
text-transform: uppercase;
}
#status b { color: #ffb46a; font-weight: normal; }
#message {
position: absolute; left: 50%; top: 46%;
transform: translateX(-50%);
font-size: 22px; letter-spacing: 4px;
color: #e8ddcb;
opacity: 0; transition: opacity .6s ease;
text-transform: uppercase; text-align: center;
text-shadow: 0 0 18px rgba(255, 200, 140, 0.4);
}
#message.on { opacity: 1; }
#fade {
position: fixed; inset: 0; background: #000;
opacity: 0; pointer-events: none;
transition: opacity 0.7s ease;
z-index: 9;
}
#fade.on { opacity: 1; }
#start {
position: fixed; inset: 0; z-index: 20;
display: flex; flex-direction: column; align-items: center; justify-content: center;
gap: 18px; cursor: pointer;
background: radial-gradient(ellipse at center, rgba(7, 14, 19, 0.86), rgba(2, 4, 7, 0.96));
font-family: "Lucida Console", Monaco, monospace;
color: #cfe8e6;
}
#start h1 { font-size: 26px; letter-spacing: 10px; color: #ffb46a; font-weight: normal; }
#start p { font-size: 13px; letter-spacing: 3px; opacity: .75; }
#start .key { color: #19d4d0; }
#start.hidden { display: none; }
</style>
<script type="module" crossorigin src="./assets/index-DaZoFckZ.js"></script>
</head>
<body>
<div id="app"></div>
<div id="hud">
<div id="reticle"></div>
<div id="prompt"></div>
<div id="status"></div>
<div id="message"></div>
</div>
<div id="fade"></div>
<div id="start">
<h1>DRIFTER · MCV-7</h1>
<p>CLICK TO BOARD</p>
<p><span class="key">WASD</span> MOVE &nbsp;·&nbsp; <span class="key">MOUSE</span> LOOK &nbsp;·&nbsp; <span class="key">E</span> INTERACT</p>
</div>
</body>
</html>
2 changes: 2 additions & 0 deletions spaceship/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
dist/
Loading
Loading