├── .gitignore ├── LICENSE ├── PART 1 - Basic Shooting ├── .cargo │ └── config.toml ├── .vscode │ └── tasks.json ├── Cargo.toml ├── rust-toolchain.toml └── src │ ├── game │ ├── cursor │ │ ├── cursor.rs │ │ └── mod.rs │ ├── game.rs │ ├── level │ │ ├── level.rs │ │ ├── mod.rs │ │ └── targets.rs │ ├── mod.rs │ ├── player │ │ ├── camera_controller.rs │ │ ├── mod.rs │ │ └── player.rs │ ├── shooting │ │ ├── mod.rs │ │ └── tracer.rs │ ├── ui │ │ ├── crosshair.rs │ │ ├── mod.rs │ │ └── ui.rs │ └── window │ │ ├── mod.rs │ │ └── window.rs │ └── main.rs ├── PART 2 - Movement+3D Models ├── .cargo │ └── config.toml ├── .vscode │ └── tasks.json ├── Cargo.toml ├── assets │ └── models │ │ ├── ak.blend │ │ └── ak.glb ├── rust-toolchain.toml └── src │ ├── game │ ├── cursor │ │ ├── cursor.rs │ │ └── mod.rs │ ├── game.rs │ ├── level │ │ ├── level.rs │ │ ├── mod.rs │ │ └── targets.rs │ ├── math │ │ ├── coordinates.rs │ │ └── mod.rs │ ├── mod.rs │ ├── player │ │ ├── camera_controller.rs │ │ ├── input.rs │ │ ├── mod.rs │ │ ├── player.rs │ │ ├── player_movement.rs │ │ └── player_shooting.rs │ ├── shooting │ │ ├── mod.rs │ │ └── tracer.rs │ ├── ui │ │ ├── crosshair.rs │ │ ├── mod.rs │ │ └── ui.rs │ └── window │ │ ├── mod.rs │ │ └── window.rs │ └── main.rs └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/LICENSE -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/.cargo/config.toml -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/.vscode/tasks.json -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/Cargo.toml -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/rust-toolchain.toml: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | channel = "nightly" -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/cursor/cursor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/cursor/cursor.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/cursor/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod cursor; 2 | -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/game.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/game.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/level/level.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/level/level.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/level/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/level/mod.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/level/targets.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/level/targets.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/mod.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/player/camera_controller.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/player/camera_controller.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/player/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/player/mod.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/player/player.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/player/player.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/shooting/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod tracer; 2 | -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/shooting/tracer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/shooting/tracer.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/ui/crosshair.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/ui/crosshair.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/ui/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/ui/mod.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/ui/ui.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/ui/ui.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/window/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod window; 2 | -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/game/window/window.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/game/window/window.rs -------------------------------------------------------------------------------- /PART 1 - Basic Shooting/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 1 - Basic Shooting/src/main.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/.cargo/config.toml -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/.vscode/tasks.json -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/Cargo.toml -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/assets/models/ak.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/assets/models/ak.blend -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/assets/models/ak.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/assets/models/ak.glb -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/rust-toolchain.toml: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | channel = "nightly" -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/cursor/cursor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/cursor/cursor.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/cursor/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod cursor; 2 | -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/game.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/game.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/level/level.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/level/level.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/level/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/level/mod.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/level/targets.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/level/targets.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/math/coordinates.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/math/coordinates.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/math/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod coordinates; -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/mod.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/player/camera_controller.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/player/camera_controller.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/player/input.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/player/input.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/player/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/player/mod.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/player/player.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/player/player.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/player/player_movement.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/player/player_movement.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/player/player_shooting.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/player/player_shooting.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/shooting/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod tracer; 2 | -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/shooting/tracer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/shooting/tracer.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/ui/crosshair.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/ui/crosshair.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/ui/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/ui/mod.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/ui/ui.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/ui/ui.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/window/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod window; 2 | -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/game/window/window.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/game/window/window.rs -------------------------------------------------------------------------------- /PART 2 - Movement+3D Models/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/PART 2 - Movement+3D Models/src/main.rs -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Biped-Potato/fps_tutorial/HEAD/README.md --------------------------------------------------------------------------------