校园五人制足球像素风立体场景
- 播放
- 1.5万
- 点赞
- 397
- 评论
- 37
- 收藏
- 323
作者分别用 Opus 和 Sonnet 制作了像素风 3D 校园五人制足球场景,使用 Three.js 实现比赛模拟和多种交互。
完整提示词2,295 字符
Build a single-file pixel-art 3D diorama (three.js r160, orthographic camera at ~31°, rotatable in 90° steps, low-res render target with depth outlines and a quantized palette) of a futsal 5-a-side match on a small floating island: a school yard. Original content only, English UI.
Scene: a 40×20 m blue rubber futsal court inside a wire cage (cutaway on the sides nearest the camera), 3×2 m red-and-white goals, proper futsal markings (6 m arc areas, 6 m and 10 m spots, centre circle). Team benches and a timekeeper's table on one touchline, small bleachers on three sides with an instanced crowd of kids and parents. Behind the north end: a school facade ("School No. 12") with porch and door the teams walk out of, a wall clock with moving hands, a flag, and a 64×32 pixel scoreboard on the wall showing score, clock and team fouls. Around the court: playground, bike rack, shed, basketball hoop, snack kiosk, trees, ball boys, a photographer, stewards.
Match engine: 4 school clubs with distinct kits (none matching the court colour), 9-player squads (5 on court + 4 subs) in a 1-2-1 formation (GK, fixo, two alas, pivot). Two halves of 20 match minutes (real length selectable), no offside, kick-ins instead of throw-ins, keeper restarts by pass, corners and free kicks scaled to the small court. Ball physics with drag, analytic rolling and lob solving; short passing, shots from distance, rare crosses. Referee on one touchline, second official at the table. Coroutine-driven agents with A* navigation: walk-out from the school door, warm-up, kick-off, goal celebrations, half-time, full-time handshakes. Commentary feed, viewer actions (Shoot / Square it / Hit it long, click to mark the next pass), camera modes (TV follow, whole yard, close-up), day / dusk / night with four corner floodlights.
Switchable court surface (segmented control): rubber (blue), asphalt, artificial turf, wooden parquet. Each swaps the court texture AND the ball physics constants — rolling resistance, bounce restitution, skid — so asphalt is fast and bouncy, turf slows the ball and kills the bounce, parquet is the quickest and slickest.
Page: light editorial layout with a small mast, the canvas, and a control panel (match length, surface, time of day, views, commentary). Must work at phone width.出处:作者在原帖下的回复。提示词保留原文语言,未做改写。
作者提到的工具
Three.js
原帖:https://x.com/vib3coded/status/2116944633800368616
全部作品数据开源在 GitHub · awesome-opus-5.5-video。
模型归属以作者自述为准,本站未独立复现。播放量为 2026-11-03 的快照。作品版权归原作者,修改署名或下架请在 X 私信 @GoSailGlobal。