├── .gitignore ├── .firebaserc ├── static ├── ui │ ├── crystal_icon.png │ └── shield_icon.png ├── models │ ├── cliffs │ │ ├── scene.bin │ │ ├── textures │ │ │ ├── cliff1_normal.png │ │ │ ├── cliff2_normal.png │ │ │ ├── cliff1_baseColor.png │ │ │ ├── cliff2_baseColor.png │ │ │ ├── cliff1_metallicRoughness.png │ │ │ └── cliff2_metallicRoughness.png │ │ └── scene.gltf │ ├── rocket │ │ ├── scene.bin │ │ ├── textures │ │ │ └── Texture_baseColor.jpg │ │ └── scene.gltf │ ├── start_bay │ │ ├── scene.bin │ │ └── textures │ │ │ ├── cliff1_normal.jpg │ │ │ ├── cliff2_normal.jpg │ │ │ ├── cliff1_baseColor.jpg │ │ │ ├── cliff2_baseColor.jpg │ │ │ ├── cliff1_metallicRoughness.jpg │ │ │ ├── cliff2_metallicRoughness.jpg │ │ │ └── Cube_Bake1_cyclesbake_COMBINED.png │ ├── glowing_rock │ │ ├── scene.bin │ │ ├── textures │ │ │ ├── lambert1_normal.png │ │ │ ├── lambert1_baseColor.jpeg │ │ │ ├── lambert1_emissive.jpeg │ │ │ └── lambert1_metallicRoughness.png │ │ └── scene.gltf │ ├── shield_item │ │ ├── scene.bin │ │ ├── license.txt │ │ └── scene.gltf │ ├── glowing_crystals │ │ ├── scene.bin │ │ ├── textures │ │ │ ├── crystals_normal.png │ │ │ ├── crystals_emissive.jpeg │ │ │ ├── crystals_baseColor.jpeg │ │ │ └── crystals_metallicRoughness.png │ │ └── scene.gltf │ └── spaceship_nortend │ │ ├── scene.bin │ │ └── textures │ │ ├── Osn2_normal.png │ │ ├── detal_normal.png │ │ ├── Osn2_emissive.jpeg │ │ ├── Osn2_baseColor.jpeg │ │ ├── detal_baseColor.jpeg │ │ ├── detal_emissive.jpeg │ │ ├── material_normal.png │ │ ├── material_baseColor.jpeg │ │ ├── material_emissive.jpeg │ │ ├── Osn2_metallicRoughness.png │ │ ├── detal_metallicRoughness.png │ │ └── material_metallicRoughness.png ├── normals │ └── waternormals.jpeg └── images │ └── rocket.svg ├── isTouchDevice.ts ├── rocketjourney ├── static │ ├── ui │ │ ├── shield_icon.png │ │ └── crystal_icon.png │ ├── models │ │ ├── cliffs │ │ │ ├── scene.bin │ │ │ └── textures │ │ │ │ ├── cliff1_normal.png │ │ │ │ ├── cliff2_normal.png │ │ │ │ ├── cliff1_baseColor.png │ │ │ │ ├── cliff2_baseColor.png │ │ │ │ ├── cliff1_metallicRoughness.png │ │ │ │ └── cliff2_metallicRoughness.png │ │ ├── rocket │ │ │ ├── scene.bin │ │ │ ├── textures │ │ │ │ └── Texture_baseColor.jpg │ │ │ └── scene.gltf │ │ ├── start_bay │ │ │ ├── scene.bin │ │ │ └── textures │ │ │ │ ├── cliff1_normal.jpg │ │ │ │ ├── cliff2_normal.jpg │ │ │ │ ├── cliff1_baseColor.jpg │ │ │ │ ├── cliff2_baseColor.jpg │ │ │ │ ├── cliff1_metallicRoughness.jpg │ │ │ │ ├── cliff2_metallicRoughness.jpg │ │ │ │ └── Cube_Bake1_cyclesbake_COMBINED.png │ │ ├── shield_item │ │ │ ├── scene.bin │ │ │ ├── license.txt │ │ │ └── scene.gltf │ │ ├── glowing_rock │ │ │ ├── scene.bin │ │ │ ├── textures │ │ │ │ ├── lambert1_normal.png │ │ │ │ ├── lambert1_emissive.jpeg │ │ │ │ ├── lambert1_baseColor.jpeg │ │ │ │ └── lambert1_metallicRoughness.png │ │ │ └── scene.gltf │ │ ├── glowing_crystals │ │ │ ├── scene.bin │ │ │ ├── textures │ │ │ │ ├── crystals_normal.png │ │ │ │ ├── crystals_baseColor.jpeg │ │ │ │ ├── crystals_emissive.jpeg │ │ │ │ └── crystals_metallicRoughness.png │ │ │ └── scene.gltf │ │ └── spaceship_nortend │ │ │ ├── scene.bin │ │ │ └── textures │ │ │ ├── Osn2_normal.png │ │ │ ├── detal_normal.png │ │ │ ├── Osn2_baseColor.jpeg │ │ │ ├── Osn2_emissive.jpeg │ │ │ ├── detal_emissive.jpeg │ │ │ ├── material_normal.png │ │ │ ├── detal_baseColor.jpeg │ │ │ ├── material_emissive.jpeg │ │ │ ├── material_baseColor.jpeg │ │ │ ├── Osn2_metallicRoughness.png │ │ │ ├── detal_metallicRoughness.png │ │ │ └── material_metallicRoughness.png │ ├── normals │ │ └── waternormals.jpeg │ └── images │ │ └── rocket.svg ├── webpack.dev.js ├── objects │ ├── shaders │ │ ├── waterVertexShader.glsl │ │ └── waterFragmentShader.glsl │ └── water.js ├── package.json ├── webpack.production.js ├── game │ ├── physics.ts │ ├── garbageCollector.ts │ ├── ui.ts │ ├── objects.ts │ └── collisionDetection.ts ├── webpack.common.js ├── html │ └── index.html └── game.ts ├── html ├── about.html └── index.html ├── firebase.json ├── tsconfig.json ├── release └── index.html ├── webpack.dev.js ├── objects ├── shaders │ ├── waterVertexShader.glsl │ ├── skyVertexShader.glsl │ ├── waterFragmentShader.glsl │ └── skyFragmentShader.glsl ├── sky.js └── water.js ├── postprocessing ├── copyShader.js ├── pass.js ├── convolutionShader.js └── bloomPass.js ├── package.json ├── webpack.production.js ├── game ├── physics.ts ├── garbageCollector.ts ├── ui.ts ├── objects.ts └── collisionDetection.ts ├── global.d.ts └── webpack.common.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | .idea 4 | dist 5 | .firebase 6 | youtube video 7 | -------------------------------------------------------------------------------- /.firebaserc: -------------------------------------------------------------------------------- 1 | { 2 | "projects": { 3 | "default": "awesome-rocket-journey" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /static/ui/crystal_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/ui/crystal_icon.png -------------------------------------------------------------------------------- /static/ui/shield_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/ui/shield_icon.png -------------------------------------------------------------------------------- /static/models/cliffs/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/cliffs/scene.bin -------------------------------------------------------------------------------- /static/models/rocket/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/rocket/scene.bin -------------------------------------------------------------------------------- /static/normals/waternormals.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/normals/waternormals.jpeg -------------------------------------------------------------------------------- /static/models/start_bay/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/start_bay/scene.bin -------------------------------------------------------------------------------- /static/models/glowing_rock/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/glowing_rock/scene.bin -------------------------------------------------------------------------------- /static/models/shield_item/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/shield_item/scene.bin -------------------------------------------------------------------------------- /isTouchDevice.ts: -------------------------------------------------------------------------------- 1 | export function isTouchDevice() { 2 | return (('ontouchstart' in window) || 3 | (navigator.maxTouchPoints > 0)); 4 | } 5 | -------------------------------------------------------------------------------- /rocketjourney/static/ui/shield_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/rocketjourney/static/ui/shield_icon.png -------------------------------------------------------------------------------- /rocketjourney/static/ui/crystal_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/rocketjourney/static/ui/crystal_icon.png -------------------------------------------------------------------------------- /static/models/glowing_crystals/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/glowing_crystals/scene.bin -------------------------------------------------------------------------------- /static/models/spaceship_nortend/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/spaceship_nortend/scene.bin -------------------------------------------------------------------------------- /rocketjourney/static/models/cliffs/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/rocketjourney/static/models/cliffs/scene.bin -------------------------------------------------------------------------------- /rocketjourney/static/models/rocket/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/rocketjourney/static/models/rocket/scene.bin -------------------------------------------------------------------------------- /rocketjourney/static/models/start_bay/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/rocketjourney/static/models/start_bay/scene.bin -------------------------------------------------------------------------------- /rocketjourney/static/normals/waternormals.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/rocketjourney/static/normals/waternormals.jpeg -------------------------------------------------------------------------------- /static/models/cliffs/textures/cliff1_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/cliffs/textures/cliff1_normal.png -------------------------------------------------------------------------------- /static/models/cliffs/textures/cliff2_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/cliffs/textures/cliff2_normal.png -------------------------------------------------------------------------------- /rocketjourney/static/models/shield_item/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/rocketjourney/static/models/shield_item/scene.bin -------------------------------------------------------------------------------- /rocketjourney/static/models/glowing_rock/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/rocketjourney/static/models/glowing_rock/scene.bin -------------------------------------------------------------------------------- /static/models/cliffs/textures/cliff1_baseColor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/cliffs/textures/cliff1_baseColor.png -------------------------------------------------------------------------------- /static/models/cliffs/textures/cliff2_baseColor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/cliffs/textures/cliff2_baseColor.png -------------------------------------------------------------------------------- /static/models/rocket/textures/Texture_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/rocket/textures/Texture_baseColor.jpg -------------------------------------------------------------------------------- /static/models/start_bay/textures/cliff1_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/start_bay/textures/cliff1_normal.jpg -------------------------------------------------------------------------------- /static/models/start_bay/textures/cliff2_normal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/start_bay/textures/cliff2_normal.jpg -------------------------------------------------------------------------------- /rocketjourney/static/models/glowing_crystals/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/rocketjourney/static/models/glowing_crystals/scene.bin -------------------------------------------------------------------------------- /static/models/start_bay/textures/cliff1_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/start_bay/textures/cliff1_baseColor.jpg -------------------------------------------------------------------------------- /static/models/start_bay/textures/cliff2_baseColor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/start_bay/textures/cliff2_baseColor.jpg -------------------------------------------------------------------------------- /rocketjourney/static/models/spaceship_nortend/scene.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/rocketjourney/static/models/spaceship_nortend/scene.bin -------------------------------------------------------------------------------- /static/models/glowing_rock/textures/lambert1_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/glowing_rock/textures/lambert1_normal.png -------------------------------------------------------------------------------- /static/models/spaceship_nortend/textures/Osn2_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/spaceship_nortend/textures/Osn2_normal.png -------------------------------------------------------------------------------- /static/models/spaceship_nortend/textures/detal_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flutterfromscratch/threejs-rocket-game/HEAD/static/models/spaceship_nortend/textures/detal_normal.png -------------------------------------------------------------------------------- /html/about.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |