Back to Browse

2. CAMERA SETUP // Creating a SimCity Game with JavaScript & Three.js

21.9K views
Mar 30, 2023
26:52

Want shader breakdowns, WebGPU experiments, and Three.js tips? 👉🏻 https://threejsroadmap.com/join-newsletter 🎮 LIVE DEMO https://dgreenheck.github.io/simcity-threejs-clone 💻 SOURCE CODE https://github.com/dgreenheck/simcity-threejs-clone ▶️ PLAYLIST https://bit.ly/3WbwWY1 0:00 Intro 0:25 Setting Up Intellisense for Three.js 1:23 Hooking Up Mouse Events 3:32 Orbital Camera Rotation 9:38 Refactoring Camera Code 13:12 Handling Multiple Mouse Buttons 16:07 Camera Zoom 18:35 Camera Pan 24:18 Code Cleanup 26:30 Outro

Download

0 formats

No download links available.

2. CAMERA SETUP // Creating a SimCity Game with JavaScript & Three.js | NatokHD