3D player movement, sprinting, camera control and jump physics
3D player movement, sprinting, camera control and jump physics.
Medieval Delivery is a Unity 6 3D game project with a medieval environment, player movement and quest interactions. The repository includes scripts for sprinting, jumping, gravity and camera input, inventory and item pickup, quest management, scene navigation, ambient sound, NPC wandering and environmental effects, alongside many art and animation assets.
*Tracked files (excluding common generated build folders; Unity assets included).
Capabilities documented in the repository; the supporting sources and project configuration determine how they run.
3D player movement, sprinting, camera control and jump physics.
Coyote time and jump buffering in the movement controller.
Quest managers, quest givers, inventory and pickups.
Multiple scenes for the game, main menu, quests, inventory and credits.
NPC wandering, ambient audio, dragon fire and volcano effects.
Unity 6 URP project with 22 scene files, 1,419 prefabs and many 3D art assets.
Unity editor version 6000.2.6f2, Universal Render Pipeline 17.2.
MonoBehaviour scripts split movement, quests, inventory, scenes and environmental interactions.
GamePlayer uses CharacterController; PlayerInventory stores counts in a string-to-integer dictionary; QuestManager maintains the active quest list.
Selected fragments from project source files with an explanation of the responsibility they implement.
The Unity inventory groups held items by type and validates item count updates.
public bool Has(string itemTag, int amount) => CountOf(itemTag) >= amount;
public void Add(string itemTag, int amount) {
if (string.IsNullOrWhiteSpace(itemTag) || amount <= 0) return;
_counts.TryGetValue(itemTag, out var current);
_counts[itemTag] = current + amount;
}
A nearby interactable object responds to the E key, updates inventory and disappears from the scene.
private void Update() {
if (!_playerInside) return;
if (Input.GetKeyDown(KeyCode.E)) {
if (PlayerInventory.I != null) PlayerInventory.I.Add(itemTag, amount);
if (PickupPromptUI.I != null) PickupPromptUI.I.Hide();
gameObject.SetActive(false);
}
}
Medieval delivery/Assets/Scripts/Quests/PlayerInventory.cs · Abbreviated source excerpt
public int CountOf(string itemTag) {
if (string.IsNullOrWhiteSpace(itemTag)) return 0;
return _counts.TryGetValue(itemTag, out var count) ? count : 0;
}
Place approved visuals in
assets/img/projects/unity-project/screenshot-01.webp.
The repository files and documentation were inspected; the game or web application was not executed during this review.
Descriptions and examples are based on the repository documentation and selected source files. Build settings, external services, assets and project-specific configuration may be required to run the application.