diff --git a/Assets/Scenes/Coin.prefab b/Assets/Scenes/Coin.prefab new file mode 100644 index 00000000..7948a22d Binary files /dev/null and b/Assets/Scenes/Coin.prefab differ diff --git a/Assets/Scenes/Coin.prefab.meta b/Assets/Scenes/Coin.prefab.meta new file mode 100644 index 00000000..9a8674f5 --- /dev/null +++ b/Assets/Scenes/Coin.prefab.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: d9a9ea39ec5168c4691ff384e9fa64fa +timeCreated: 1491823041 +licenseType: Pro +NativeFormatImporter: + mainObjectFileID: 100100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/README.md b/Assets/Scripts/README.md new file mode 100644 index 00000000..e2976faa --- /dev/null +++ b/Assets/Scripts/README.md @@ -0,0 +1,136 @@ + +``` +D:\DLU\HocKy6\LapTrinhGame\SourcesGame\RedRunner\Assets\Scripts +|-- RedRunner +| |-- AudioControl +| | |-- VolumeControl.cs +| | ``-- VolumeControl.cs.meta +| |-- Characters +| | |-- Character.cs +| | |-- Character.cs.meta +| | |-- RedCharacter.cs +| | ``-- RedCharacter.cs.meta +| |-- Collectables +| | |-- Interface +| | | |-- IPoolable.cs +| | | ``-- IPoolable.cs.meta +| | |-- Chest.cs +| | |-- Chest.cs.meta +| | |-- Coin.cs +| | |-- Coin.cs.meta +| | |-- CoinRigidbody2D.cs +| | |-- CoinRigidbody2D.cs.meta +| | |-- Collectable.cs +| | |-- Collectable.cs.meta +| | ``-- Interface.meta +| |-- Enemies +| | |-- Enemy.cs +| | |-- Enemy.cs.meta +| | |-- Eye.cs +| | |-- Eye.cs.meta +| | |-- Mace.cs +| | |-- Mace.cs.meta +| | |-- Saw.cs +| | |-- Saw.cs.meta +| | |-- Spike.cs +| | |-- Spike.cs.meta +| | |-- Water.cs +| | ``-- Water.cs.meta +| |-- ObjectPool +| | |-- ObjectPool.cs +| | ``-- ObjectPool.cs.meta +| |-- Skeleton +| | |-- Skeleton.cs +| | ``-- Skeleton.cs.meta +| |-- TerrainGeneration +| | |-- BackgroundBlock.cs +| | |-- BackgroundBlock.cs.meta +| | |-- BackgroundLayer.cs +| | |-- BackgroundLayer.cs.meta +| | |-- Block.cs +| | |-- Block.cs.meta +| | |-- DefaultBlock.cs +| | |-- DefaultBlock.cs.meta +| | |-- DefaultTerrainGenerator.cs +| | |-- DefaultTerrainGenerator.cs.meta +| | |-- TerrainGenerationSettings.cs +| | |-- TerrainGenerationSettings.cs.meta +| | |-- TerrainGenerator.cs +| | ``-- TerrainGenerator.cs.meta +| |-- UI +| | |-- UIScreen +| | | |-- EndScreen.cs +| | | |-- EndScreen.cs.meta +| | | |-- InGameScreen.cs +| | | |-- InGameScreen.cs.meta +| | | |-- LoadingScreen.cs +| | | |-- LoadingScreen.cs.meta +| | | |-- PauseScreen.cs +| | | |-- PauseScreen.cs.meta +| | | |-- StartScreen.cs +| | | |-- StartScreen.cs.meta +| | | |-- UIScreen.cs +| | | ``-- UIScreen.cs.meta +| | |-- UIButton.cs +| | |-- UIButton.cs.meta +| | |-- UICoinImage.cs +| | |-- UICoinImage.cs.meta +| | |-- UICoinText.cs +| | |-- UICoinText.cs.meta +| | |-- UIHighScoreText.cs +| | |-- UIHighScoreText.cs.meta +| | |-- UIImageRandom.cs +| | |-- UIImageRandom.cs.meta +| | |-- UILastScoreText.cs +| | |-- UILastScoreText.cs.meta +| | |-- UIScoreText.cs +| | |-- UIScoreText.cs.meta +| | |-- UIScreen.meta +| | |-- UIShareButtons.cs +| | |-- UIShareButtons.cs.meta +| | |-- UISoundButton.cs +| | |-- UISoundButton.cs.meta +| | |-- UIText.cs +| | |-- UIText.cs.meta +| | |-- UIWindow.cs +| | ``-- UIWindow.cs.meta +| |-- Utilities +| | |-- CameraController.cs +| | |-- CameraController.cs.meta +| | |-- Extensions.cs +| | |-- Extensions.cs.meta +| | |-- GroundCheck.cs +| | |-- GroundCheck.cs.meta +| | |-- PathDefinition.cs +| | |-- PathDefinition.cs.meta +| | |-- PathFollower.cs +| | |-- PathFollower.cs.meta +| | |-- PathPoint.cs +| | ``-- PathPoint.cs.meta +| |-- AudioControl.meta +| |-- AudioManager.cs +| |-- AudioManager.cs.meta +| |-- Characters.meta +| |-- Collectables.meta +| |-- Enemies.meta +| |-- GameManager.cs +| |-- GameManager.cs.meta +| |-- ObjectPool.meta +| |-- Skeleton.meta +| |-- TerrainGeneration.meta +| |-- UI.meta +| |-- UIManager.cs +| |-- UIManager.cs.meta +| ``-- Utilities.meta +|-- Utils +| |-- Property.cs +| |-- Property.cs.meta +| |-- PropertyEvent.cs +| |-- PropertyEvent.cs.meta +| |-- UtilsUI.cs +| ``-- UtilsUI.cs.meta +|-- CameraControl.cs +|-- CameraControl.cs.meta +|-- RedRunner.meta +``-- Utils.meta +``` diff --git a/Assets/Scripts/README.md.meta b/Assets/Scripts/README.md.meta new file mode 100644 index 00000000..e6b29a5a --- /dev/null +++ b/Assets/Scripts/README.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 8f9f0455eab99054b81da42e69e5d977 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/RedRunner/Tiles Atlas.spriteatlas b/Assets/Sprites/RedRunner/Tiles Atlas.spriteatlas index 4f1f2816..b077edea 100644 Binary files a/Assets/Sprites/RedRunner/Tiles Atlas.spriteatlas and b/Assets/Sprites/RedRunner/Tiles Atlas.spriteatlas differ diff --git a/Logs/Packages-Update.log b/Logs/Packages-Update.log index 5d56ec86..4c722a50 100644 --- a/Logs/Packages-Update.log +++ b/Logs/Packages-Update.log @@ -38,3 +38,17 @@ The following packages were updated: The following packages were removed: com.unity.package-manager-ui@2.0.3 com.unity.textmeshpro@1.3.0 + +=== Sat Mar 7 09:19:39 2026 + +Packages were changed. +Update Mode: updateDependencies + +The following packages were added: + com.unity.modules.adaptiveperformance@1.0.0 + com.unity.modules.vectorgraphics@1.0.0 +The following packages were updated: + com.unity.collab-proxy from version 2.9.3 to 2.11.2 + com.unity.ide.visualstudio from version 2.0.25 to 2.0.26 + com.unity.multiplayer.center from version 1.0.0 to 1.0.1 + com.unity.timeline from version 1.8.9 to 1.8.10 diff --git a/Packages/manifest.json b/Packages/manifest.json index 7330d056..a9f0d8f7 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -3,15 +3,16 @@ "com.unity.2d.sprite": "1.0.0", "com.unity.2d.tilemap": "1.0.0", "com.unity.ai.navigation": "2.0.9", - "com.unity.collab-proxy": "2.9.3", + "com.unity.collab-proxy": "2.11.2", "com.unity.ide.rider": "3.0.38", - "com.unity.ide.visualstudio": "2.0.25", - "com.unity.multiplayer.center": "1.0.0", + "com.unity.ide.visualstudio": "2.0.26", + "com.unity.multiplayer.center": "1.0.1", "com.unity.postprocessing": "3.5.1", "com.unity.test-framework": "1.6.0", - "com.unity.timeline": "1.8.9", + "com.unity.timeline": "1.8.10", "com.unity.ugui": "2.0.0", "com.unity.modules.accessibility": "1.0.0", + "com.unity.modules.adaptiveperformance": "1.0.0", "com.unity.modules.ai": "1.0.0", "com.unity.modules.androidjni": "1.0.0", "com.unity.modules.animation": "1.0.0", @@ -38,6 +39,7 @@ "com.unity.modules.unitywebrequestaudio": "1.0.0", "com.unity.modules.unitywebrequesttexture": "1.0.0", "com.unity.modules.unitywebrequestwww": "1.0.0", + "com.unity.modules.vectorgraphics": "1.0.0", "com.unity.modules.vehicles": "1.0.0", "com.unity.modules.video": "1.0.0", "com.unity.modules.vr": "1.0.0", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index 70fba9fb..e9b0149d 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -25,7 +25,7 @@ "url": "https://packages.unity.com" }, "com.unity.collab-proxy": { - "version": "2.9.3", + "version": "2.11.2", "depth": 0, "source": "registry", "dependencies": {}, @@ -47,16 +47,16 @@ "url": "https://packages.unity.com" }, "com.unity.ide.visualstudio": { - "version": "2.0.25", + "version": "2.0.26", "depth": 0, "source": "registry", "dependencies": { - "com.unity.test-framework": "1.1.31" + "com.unity.test-framework": "1.1.33" }, "url": "https://packages.unity.com" }, "com.unity.multiplayer.center": { - "version": "1.0.0", + "version": "1.0.1", "depth": 0, "source": "builtin", "dependencies": { @@ -83,7 +83,7 @@ } }, "com.unity.timeline": { - "version": "1.8.9", + "version": "1.8.10", "depth": 0, "source": "registry", "dependencies": { @@ -109,6 +109,14 @@ "source": "builtin", "dependencies": {} }, + "com.unity.modules.adaptiveperformance": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.subsystems": "1.0.0" + } + }, "com.unity.modules.ai": { "version": "1.0.0", "depth": 0, @@ -316,6 +324,16 @@ "com.unity.modules.imageconversion": "1.0.0" } }, + "com.unity.modules.vectorgraphics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.uielements": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0", + "com.unity.modules.imgui": "1.0.0" + } + }, "com.unity.modules.vehicles": { "version": "1.0.0", "depth": 0, diff --git a/ProjectSettings/Packages/com.unity.dedicated-server/MultiplayerRolesSettings.asset b/ProjectSettings/Packages/com.unity.dedicated-server/MultiplayerRolesSettings.asset new file mode 100644 index 00000000..d72800db --- /dev/null +++ b/ProjectSettings/Packages/com.unity.dedicated-server/MultiplayerRolesSettings.asset @@ -0,0 +1,17 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &1 +MonoBehaviour: + m_ObjectHideFlags: 53 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 15023, guid: 0000000000000000e000000000000000, type: 0} + m_Name: + m_EditorClassIdentifier: UnityEditor.MultiplayerModule.dll::UnityEditor.Multiplayer.Internal.MultiplayerRolesSettings + m_MultiplayerRoleForClassicProfile: + m_Keys: [] + m_Values: diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 02f96caa..4fae8867 100644 Binary files a/ProjectSettings/ProjectSettings.asset and b/ProjectSettings/ProjectSettings.asset differ diff --git a/ProjectSettings/ProjectVersion.txt b/ProjectSettings/ProjectVersion.txt index b5c96e15..a4b5984e 100644 --- a/ProjectSettings/ProjectVersion.txt +++ b/ProjectSettings/ProjectVersion.txt @@ -1,2 +1,2 @@ -m_EditorVersion: 6000.2.6f2 -m_EditorVersionWithRevision: 6000.2.6f2 (4a4dcaec6541) +m_EditorVersion: 6000.3.6f1 +m_EditorVersionWithRevision: 6000.3.6f1 (bbb010bdb8a3) diff --git a/README.md b/README.md index 15e3c3f6..9283e5b3 100644 --- a/README.md +++ b/README.md @@ -1,91 +1,22 @@ -# Red Runner - -Red Runner, Awesome Platformer Game. - -It is now free and open source and always will be. :clap: :tada: - -| [:sparkles: Getting Started](#getting-started) | [:rocket: Download](#download) | [:camera: Screenshots](#screenshots) | -| --------------- | -------- | ----------- | - -

- -

- -[:camera: See Screenshots](#screenshots) - -[:movie_camera: **See the Trailer**](https://youtu.be/MO2yJhgtMes) - -## Getting Started - -Follow the below instructions to get started with Red Runner source code: - -1. [Make sure you have all Requirements](#requirements) -2. [Download Source Code](#download) -3. Open Project in Unity and Enjoy! - -## Requirements - -Make sure you have the below requirements before starting: - -- [Unity Game Engine](https://unity3d.com) version **6000.2.6f2 (Unity 6)** -- Basic Knowledge about Unity and C# - -## Download - -You can get access to Red Runner source code by using one of the following ways: - -- [:sparkles: Download Source Code](https://github.com/BayatGames/RedRunner/archive/master.zip) -- [:fire: Download Source Code from Itch.io](https://bayat.itch.io/red-runner) -- Clone the repository locally: - -```bash -git clone https://github.com/BayatGames/RedRunner.git -``` - -Also you can the build version of the Red Runner using the following ways: - -- [:star: Download from Itch.io](https://bayat.itch.io/red-runner) - +# Lab 01 - Khám phá dự án RedRunner +## Thông tin sinh viên +- **Họ tên**: Nguyễn Ngọc Hân +- **MSSV**: 2312607 +- **Lớp**: CTK47A +## Mô tả +Bài thực hành Lab 01 môn **Game 2D Development with Unity**. +Khám phá và phân tích dự án game RedRunner - một Platformer 2D mã nguồn mở +được phát triển bởi Bayat Games. +## Các thay đổi đã thực hiện +1. Thay đổi tốc độ chạy: [8] → [15] +2. Thay đổi lực nhảy: [12] → [30] +3. Thay đổi trọng lực: [1.5] → [3.0] +4. Thêm Coin vào scene tại vị trí [...] ## Screenshots - -

- -

- -

- -

- -

- -

- -

- -

- -## Credits - -- Graphics: [Free Platform Game Assets](https://bayat.itch.io/platform-game-assets) -- Save System: [Save Game Pro - Save Everything](https://bayat.itch.io/save-game-pro-save-everything) -- Game Engine: [Unity](https://unity3d.com/) -- Thanks to all of the game development community for their awesome help. - -## Related - -- [Awesome Unity](https://github.com/RyanNielson/awesome-unity) - A curated list of awesome Unity assets, resources, and more. -- [Games on GitHub](https://github.com/leereilly/games/) - 🎮 A list of popular/awesome videos games, add-ons, maps, etc. hosted on GitHub. Any genre. Any platform. Any engine. -- [GameDev Resources](https://github.com/Kavex/GameDev-Resources) - 🎮 🎲 A wonderful list of Game Development resources. -- [UnityLibrary](https://github.com/UnityCommunity/UnityLibrary) - 📚 Library of all kind of scripts, snippets & shaders for Unity. - -## Resources - -[:rocket: Patreon](https://www.patreon.com/BayatGames) - -[:newspaper: Support and News](https://github.com/BayatGames/Support) - -## License - -MIT @ [Bayat Games](https://github.com/BayatGames) - -Made with :heart: by [Bayat Games](https://github.com/BayatGames) +Ảnh minh chứng: File Word +## Kiến thức đã học được +1. [Điểm 1] +2. [Điểm 2] +3. [Điểm 3] +4. [Điểm 4] +5. [Điểm 5] diff --git a/Scripts_tree.png b/Scripts_tree.png new file mode 100644 index 00000000..28c1bc51 Binary files /dev/null and b/Scripts_tree.png differ diff --git a/Scripts_tree.txt b/Scripts_tree.txt new file mode 100644 index 00000000..9e96d666 --- /dev/null +++ b/Scripts_tree.txt @@ -0,0 +1,133 @@ +D:\DLU\HocKy6\LapTrinhGame\SourcesGame\RedRunner\Assets\Scripts +|-- RedRunner +| |-- AudioControl +| | |-- VolumeControl.cs +| | ``-- VolumeControl.cs.meta +| |-- Characters +| | |-- Character.cs +| | |-- Character.cs.meta +| | |-- RedCharacter.cs +| | ``-- RedCharacter.cs.meta +| |-- Collectables +| | |-- Interface +| | | |-- IPoolable.cs +| | | ``-- IPoolable.cs.meta +| | |-- Chest.cs +| | |-- Chest.cs.meta +| | |-- Coin.cs +| | |-- Coin.cs.meta +| | |-- CoinRigidbody2D.cs +| | |-- CoinRigidbody2D.cs.meta +| | |-- Collectable.cs +| | |-- Collectable.cs.meta +| | ``-- Interface.meta +| |-- Enemies +| | |-- Enemy.cs +| | |-- Enemy.cs.meta +| | |-- Eye.cs +| | |-- Eye.cs.meta +| | |-- Mace.cs +| | |-- Mace.cs.meta +| | |-- Saw.cs +| | |-- Saw.cs.meta +| | |-- Spike.cs +| | |-- Spike.cs.meta +| | |-- Water.cs +| | ``-- Water.cs.meta +| |-- ObjectPool +| | |-- ObjectPool.cs +| | ``-- ObjectPool.cs.meta +| |-- Skeleton +| | |-- Skeleton.cs +| | ``-- Skeleton.cs.meta +| |-- TerrainGeneration +| | |-- BackgroundBlock.cs +| | |-- BackgroundBlock.cs.meta +| | |-- BackgroundLayer.cs +| | |-- BackgroundLayer.cs.meta +| | |-- Block.cs +| | |-- Block.cs.meta +| | |-- DefaultBlock.cs +| | |-- DefaultBlock.cs.meta +| | |-- DefaultTerrainGenerator.cs +| | |-- DefaultTerrainGenerator.cs.meta +| | |-- TerrainGenerationSettings.cs +| | |-- TerrainGenerationSettings.cs.meta +| | |-- TerrainGenerator.cs +| | ``-- TerrainGenerator.cs.meta +| |-- UI +| | |-- UIScreen +| | | |-- EndScreen.cs +| | | |-- EndScreen.cs.meta +| | | |-- InGameScreen.cs +| | | |-- InGameScreen.cs.meta +| | | |-- LoadingScreen.cs +| | | |-- LoadingScreen.cs.meta +| | | |-- PauseScreen.cs +| | | |-- PauseScreen.cs.meta +| | | |-- StartScreen.cs +| | | |-- StartScreen.cs.meta +| | | |-- UIScreen.cs +| | | ``-- UIScreen.cs.meta +| | |-- UIButton.cs +| | |-- UIButton.cs.meta +| | |-- UICoinImage.cs +| | |-- UICoinImage.cs.meta +| | |-- UICoinText.cs +| | |-- UICoinText.cs.meta +| | |-- UIHighScoreText.cs +| | |-- UIHighScoreText.cs.meta +| | |-- UIImageRandom.cs +| | |-- UIImageRandom.cs.meta +| | |-- UILastScoreText.cs +| | |-- UILastScoreText.cs.meta +| | |-- UIScoreText.cs +| | |-- UIScoreText.cs.meta +| | |-- UIScreen.meta +| | |-- UIShareButtons.cs +| | |-- UIShareButtons.cs.meta +| | |-- UISoundButton.cs +| | |-- UISoundButton.cs.meta +| | |-- UIText.cs +| | |-- UIText.cs.meta +| | |-- UIWindow.cs +| | ``-- UIWindow.cs.meta +| |-- Utilities +| | |-- CameraController.cs +| | |-- CameraController.cs.meta +| | |-- Extensions.cs +| | |-- Extensions.cs.meta +| | |-- GroundCheck.cs +| | |-- GroundCheck.cs.meta +| | |-- PathDefinition.cs +| | |-- PathDefinition.cs.meta +| | |-- PathFollower.cs +| | |-- PathFollower.cs.meta +| | |-- PathPoint.cs +| | ``-- PathPoint.cs.meta +| |-- AudioControl.meta +| |-- AudioManager.cs +| |-- AudioManager.cs.meta +| |-- Characters.meta +| |-- Collectables.meta +| |-- Enemies.meta +| |-- GameManager.cs +| |-- GameManager.cs.meta +| |-- ObjectPool.meta +| |-- Skeleton.meta +| |-- TerrainGeneration.meta +| |-- UI.meta +| |-- UIManager.cs +| |-- UIManager.cs.meta +| ``-- Utilities.meta +|-- Utils +| |-- Property.cs +| |-- Property.cs.meta +| |-- PropertyEvent.cs +| |-- PropertyEvent.cs.meta +| |-- UtilsUI.cs +| ``-- UtilsUI.cs.meta +|-- CameraControl.cs +|-- CameraControl.cs.meta +|-- RedRunner.meta +``-- Utils.meta