Skip to content

Add Three.js Playable sample - #43

Open
FranciscoMaxwell wants to merge 1 commit into
google:mainfrom
FranciscoMaxwell:add-threejs-playable-sample
Open

FranciscoMaxwell wants to merge 1 commit into
google:mainfrom
FranciscoMaxwell:add-threejs-playable-sample

Conversation

@FranciscoMaxwell

Copy link
Copy Markdown

Summary

  • add a new Three.js + Vite Playables sample called Neon Orbit
  • demonstrate a lightweight 3D runner with procedural geometry, particles, emissive materials, and responsive HUD
  • include Playables lifecycle, pause/resume, save data, score submission, and rewarded-ad boost examples

Testing

  • npm install
  • npm audit --audit-level=high
  • npm run build
  • Playwright visual check against the production preview at desktop 1365x768 and mobile 390x844, including screenshot pixel checks for nonblank rendering and color variation

Note: the production JS bundle is about 534 KiB minified / 135 KiB gzip. This is far below the Playables hard limit, but slightly above Vite's default 500 KiB chunk warning because the sample intentionally includes Three.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant