Skip to content

Commit

Permalink
minor updates with game parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Riborok committed Jan 11, 2024
1 parent 81ed5a9 commit 1975d29
Show file tree
Hide file tree
Showing 23 changed files with 52 additions and 52 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ Understanding these characteristics is essential for survival.
| Enemy Characters | Health | Armor | Armor Strength | Speed |
|---------------------------------------------------------------------------------------------|--------|-------|----------------|-------|
| <img src="./readme img/characters/Character_3.png" alt="Character3" width="60" height="80"> | 40 | 10 | 0.15 | 0.3 |
| <img src="./readme img/characters/Character_4.png" alt="Character4" width="60" height="80"> | 55 | 20 | 0.3 | 0.4 |
| <img src="./readme img/characters/Character_5.png" alt="Character5" width="60" height="80"> | 70 | 30 | 0.45 | 0.5 |
| <img src="./readme img/characters/Character_4.png" alt="Character4" width="60" height="80"> | 55 | 20 | 0.45 | 0.4 |
| <img src="./readme img/characters/Character_5.png" alt="Character5" width="60" height="80"> | 70 | 30 | 0.8 | 0.5 |

Playable characters are controlled by the player, while enemies pose a threat and must be defeated for progress
in the game.
Expand All @@ -159,21 +159,21 @@ specific type of bullet.
| Gun | Reload Time | Bullet | Damage | Armor Penetration | Speed |
|-----------------------------------------------------------------------------|-------------|-----------------------------------------------------------------|--------|-------------------|-------|
| <img src="./readme img/guns/Gun_0.png" alt="Gun0" width="17" height="11"> | 750 | <img src="./readme img/bullets/Bullet_0.png" alt="Bullet0"> | 8 | 0.05 | 3 |
| <img src="./readme img/guns/Gun_1.png" alt="Gun1" width="17" height="14"> | 800 | <img src="./readme img/bullets/Bullet_1.png" alt="Bullet1"> | 10 | 0.15 | 3.2 |
| <img src="./readme img/guns/Gun_2.png" alt="Gun2" width="20" height="14"> | 600 | <img src="./readme img/bullets/Bullet_2.png" alt="Bullet2"> | 7 | 0.075 | 2.9 |
| <img src="./readme img/guns/Gun_3.png" alt="Gun3" width="27" height="12"> | 1200 | <img src="./readme img/bullets/Bullet_3.png" alt="Bullet3"> | 19 | 0.225 | 2.7 |
| <img src="./readme img/guns/Gun_4.png" alt="Gun4" width="15" height="14"> | 800 | <img src="./readme img/bullets/Bullet_4.png" alt="Bullet4"> | 14 | 0.125 | 3 |
| <img src="./readme img/guns/Gun_5.png" alt="Gun5" width="21" height="15"> | 600 | <img src="./readme img/bullets/Bullet_5.png" alt="Bullet5"> | 10 | 0.05 | 3 |
| <img src="./readme img/guns/Gun_6.png" alt="Gun6" width="30" height="17"> | 1000 | <img src="./readme img/bullets/Bullet_6.png" alt="Bullet6"> | 23 | 0.3 | 4 |
| <img src="./readme img/guns/Gun_7.png" alt="Gun7" width="30" height="18"> | 850 | <img src="./readme img/bullets/Bullet_7.png" alt="Bullet7"> | 20 | 0.2 | 4.2 |
| <img src="./readme img/guns/Gun_8.png" alt="Gun8" width="39" height="11"> | 350 | <img src="./readme img/bullets/Bullet_8.png" alt="Bullet8"> | 12 | 0.1 | 4.2 |
| <img src="./readme img/guns/Gun_9.png" alt="Gun9" width="33" height="12"> | 400 | <img src="./readme img/bullets/Bullet_9.png" alt="Bullet9"> | 10 | 0.15 | 3 |
| <img src="./readme img/guns/Gun_10.png" alt="Gun10" width="37" height="12"> | 750 | <img src="./readme img/bullets/Bullet_10.png" alt="Bullet10"> | 22 | 0.3 | 3.2 |
| <img src="./readme img/guns/Gun_11.png" alt="Gun11" width="39" height="15"> | 600 | <img src="./readme img/bullets/Bullet_11.png" alt="Bullet11"> | 20 | 0.35 | 4 |
| <img src="./readme img/guns/Gun_12.png" alt="Gun12" width="33" height="19"> | 500 | <img src="./readme img/bullets/Bullet_12.png" alt="Bullet12"> | 19 | 0.2 | 5 |
| <img src="./readme img/guns/Gun_13.png" alt="Gun13" width="42" height="20"> | 350 | <img src="./readme img/bullets/Bullet_13.png" alt="Bullet13"> | 18 | 0.2 | 3 |
| <img src="./readme img/guns/Gun_14.png" alt="Gun14" width="32" height="17"> | 300 | <img src="./readme img/bullets/Bullet_14.png" alt="Bullet14"> | 19 | 0.175 | 3.5 |
| <img src="./readme img/guns/Gun_15.png" alt="Gun15" width="35" height="16"> | 1000 | <img src="./readme img/bullets/Bullet_15.png" alt="Bullet15"> | 32 | 0.425 | 4.2 |
| <img src="./readme img/guns/Gun_1.png" alt="Gun1" width="17" height="14"> | 800 | <img src="./readme img/bullets/Bullet_1.png" alt="Bullet1"> | 11 | 0.05 | 3.2 |
| <img src="./readme img/guns/Gun_2.png" alt="Gun2" width="20" height="14"> | 600 | <img src="./readme img/bullets/Bullet_2.png" alt="Bullet2"> | 9 | 0.075 | 2.9 |
| <img src="./readme img/guns/Gun_3.png" alt="Gun3" width="27" height="12"> | 1200 | <img src="./readme img/bullets/Bullet_3.png" alt="Bullet3"> | 19 | 0.1 | 2.7 |
| <img src="./readme img/guns/Gun_4.png" alt="Gun4" width="15" height="14"> | 800 | <img src="./readme img/bullets/Bullet_4.png" alt="Bullet4"> | 13 | 0.075 | 3 |
| <img src="./readme img/guns/Gun_5.png" alt="Gun5" width="21" height="15"> | 600 | <img src="./readme img/bullets/Bullet_5.png" alt="Bullet5"> | 12 | 0.05 | 3 |
| <img src="./readme img/guns/Gun_6.png" alt="Gun6" width="30" height="17"> | 1000 | <img src="./readme img/bullets/Bullet_6.png" alt="Bullet6"> | 23 | 0.125 | 4 |
| <img src="./readme img/guns/Gun_7.png" alt="Gun7" width="30" height="18"> | 850 | <img src="./readme img/bullets/Bullet_7.png" alt="Bullet7"> | 20 | 0.1 | 4.2 |
| <img src="./readme img/guns/Gun_8.png" alt="Gun8" width="39" height="11"> | 350 | <img src="./readme img/bullets/Bullet_8.png" alt="Bullet8"> | 13 | 0.075 | 4.2 |
| <img src="./readme img/guns/Gun_9.png" alt="Gun9" width="33" height="12"> | 400 | <img src="./readme img/bullets/Bullet_9.png" alt="Bullet9"> | 13 | 0.125 | 3 |
| <img src="./readme img/guns/Gun_10.png" alt="Gun10" width="37" height="12"> | 750 | <img src="./readme img/bullets/Bullet_10.png" alt="Bullet10"> | 22 | 0.2 | 3.2 |
| <img src="./readme img/guns/Gun_11.png" alt="Gun11" width="39" height="15"> | 600 | <img src="./readme img/bullets/Bullet_11.png" alt="Bullet11"> | 20 | 0.25 | 4 |
| <img src="./readme img/guns/Gun_12.png" alt="Gun12" width="33" height="19"> | 250 | <img src="./readme img/bullets/Bullet_12.png" alt="Bullet12"> | 16 | 0.1 | 5 |
| <img src="./readme img/guns/Gun_13.png" alt="Gun13" width="42" height="20"> | 550 | <img src="./readme img/bullets/Bullet_13.png" alt="Bullet13"> | 23 | 0.2 | 2.75 |
| <img src="./readme img/guns/Gun_14.png" alt="Gun14" width="32" height="17"> | 450 | <img src="./readme img/bullets/Bullet_14.png" alt="Bullet14"> | 25 | 0.225 | 3.25 |
| <img src="./readme img/guns/Gun_15.png" alt="Gun15" width="35" height="16"> | 1500 | <img src="./readme img/bullets/Bullet_15.png" alt="Bullet15"> | 32 | 0.3 | 4.2 |

Weapon Rarity Increases from Top to Bottom. Choose wisely to face increasingly challenging adversaries and ensure
victory in the ever-evolving battleground.
Expand Down
70 changes: 35 additions & 35 deletions coursework/src/initialization/DataInitialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ inline CharacterInfos initializeCharacterInfos() {
FightingEntitiesData{CharacterStats{0.4f}, EntityInfo{120, 40, 1.3f}, {0, 0}, {0.3f, 0.3f}},
FightingEntitiesData{CharacterStats{0.8f}, EntityInfo{90, 20, 1}, {0, 0}, {0.3f, 0.3f}},
FightingEntitiesData{CharacterStats{0.3f}, EntityInfo{40, 10, 0.15f}, {0, 0}, {0.16f, 0.16f}},
FightingEntitiesData{CharacterStats{0.4f}, EntityInfo{55, 20, 0.3f}, {0, 0}, {0.16f, 0.16f}},
FightingEntitiesData{CharacterStats{0.5f}, EntityInfo{70, 30, 0.45f}, {0, 0}, {0.16f, 0.16f}}
FightingEntitiesData{CharacterStats{0.4f}, EntityInfo{55, 20, 0.45f}, {0, 0}, {0.16f, 0.16f}},
FightingEntitiesData{CharacterStats{0.5f}, EntityInfo{70, 30, 0.8f}, {0, 0}, {0.16f, 0.16f}}
};
}

Expand All @@ -85,9 +85,9 @@ inline GunInfos initializeGunInfos() {
/* 9 */ EntitiesPartData{GunInfo{400, {-1, 14}}, {2.0f, 2.0f}},
/* 10 */ EntitiesPartData{GunInfo{750, {-1, 17}}, {1.8f, 1.8f}},
/* 11 */ EntitiesPartData{GunInfo{600, {-5, 15}}, {1.8f, 1.8f}},
/* 12 */ EntitiesPartData{GunInfo{500, {-2, 7}}, {1.6f, 1.6f}},
/* 13 */ EntitiesPartData{GunInfo{350, {-1, 7}}, {1.8f, 1.8f}},
/* 14 */ EntitiesPartData{GunInfo{300, {-2, 11}}, {1.6f, 1.6f}},
/* 12 */ EntitiesPartData{GunInfo{250, {-2, 7}}, {1.6f, 1.6f}},
/* 13 */ EntitiesPartData{GunInfo{550, {-1, 7}}, {1.8f, 1.8f}},
/* 14 */ EntitiesPartData{GunInfo{450, {-2, 11}}, {1.6f, 1.6f}},
/* 15 */ EntitiesPartData{GunInfo{1500, {-8, 8}}, {1.8f, 1.8f}},
};
}
Expand All @@ -96,36 +96,36 @@ inline BulletInfos initializeBulletInfos() {
return {
/* 0 */ EntitiesData{BulletInfo{8, 0.05f, 3.0f},
EntityInfo{1, 1, 1}, {1.25f, 1.25f}},
/* 1 */ EntitiesData{BulletInfo{10, 0.15f, 3.2f},
EntityInfo{3, 3, 1}, {1.25f, 1.25f}},
/* 2 */ EntitiesData{BulletInfo{7, 0.075f, 2.9f},
EntityInfo{5, 3, 1}, {1.25f, 1.25f}},
/* 3 */ EntitiesData{BulletInfo{19, 0.225f, 2.7f},
EntityInfo{5, 5, 1}, {1.25f, 1.25f}},
/* 4 */ EntitiesData{BulletInfo{14, 0.125f, 3.0f},
EntityInfo{7, 7, 1}, {1.25f, 1.25f}},
/* 5 */ EntitiesData{BulletInfo{10, 0.05f, 3.0f},
EntityInfo{10, 10, 1}, {1.25f, 1.25f}},
/* 6 */ EntitiesData{BulletInfo{23, 0.3f, 4.0f},
EntityInfo{5, 5, 1}, {1.25f, 1.25f}},
/* 7 */ EntitiesData{BulletInfo{20, 0.2f, 4.2f},
EntityInfo{6, 7, 1}, {1.25f, 1.25f}},
/* 8 */ EntitiesData{BulletInfo{12, 0.1f, 4.2f},
EntityInfo{8, 8, 1}, {1.25f, 1.25f}},
/* 9 */ EntitiesData{BulletInfo{10, 0.15f, 3.0f},
EntityInfo{2, 2, 1}, {1.25f, 1.25f}},
/* 10 */ EntitiesData{BulletInfo{22, 0.3f, 3.2f},
EntityInfo{8, 10, 1}, {1.25f, 1.25f}},
/* 11 */ EntitiesData{BulletInfo{20, 0.35f, 4.0f},
EntityInfo{4, 4, 1}, {1.25f, 1.25f}},
/* 12 */ EntitiesData{BulletInfo{19, 0.2f, 5.0f},
EntityInfo{2, 3, 1}, {1.25f, 1.25f}},
/* 13 */ EntitiesData{BulletInfo{18, 0.2f, 3.0f},
EntityInfo{15, 17, 1}, {1.25f, 1.25f}},
/* 14 */ EntitiesData{BulletInfo{19, 0.175f, 3.5f},
EntityInfo{13, 15, 1}, {1.25f, 1.25f}},
/* 15 */ EntitiesData{BulletInfo{32, 0.425f, 4.2f},
EntityInfo{12, 12, 1}, {1.25f, 1.25f}},
/* 1 */ EntitiesData{BulletInfo{11, 0.05f, 3.2f},
EntityInfo{3, 3, 0.15f}, {1.25f, 1.25f}},
/* 2 */ EntitiesData{BulletInfo{9, 0.075f, 2.9f},
EntityInfo{5, 3, 0.15f}, {1.25f, 1.25f}},
/* 3 */ EntitiesData{BulletInfo{19, 0.1f, 2.7f},
EntityInfo{5, 5, 0.15f}, {1.25f, 1.25f}},
/* 4 */ EntitiesData{BulletInfo{13, 0.075f, 3.0f},
EntityInfo{7, 7, 0.15f}, {1.25f, 1.25f}},
/* 5 */ EntitiesData{BulletInfo{12, 0.05f, 3.0f},
EntityInfo{10, 10, 0.15f}, {1.25f, 1.25f}},
/* 6 */ EntitiesData{BulletInfo{23, 0.125f, 4.0f},
EntityInfo{5, 5, 0.15f}, {1.25f, 1.25f}},
/* 7 */ EntitiesData{BulletInfo{20, 0.1f, 4.2f},
EntityInfo{6, 7, 0.15f}, {1.25f, 1.25f}},
/* 8 */ EntitiesData{BulletInfo{13, 0.075f, 4.2f},
EntityInfo{8, 8, 0.15f}, {1.25f, 1.25f}},
/* 9 */ EntitiesData{BulletInfo{13, 0.125f, 3.0f},
EntityInfo{2, 2, 0.15f}, {1.25f, 1.25f}},
/* 10 */ EntitiesData{BulletInfo{22, 0.2f, 3.2f},
EntityInfo{8, 10, 0.15f}, {1.25f, 1.25f}},
/* 11 */ EntitiesData{BulletInfo{20, 0.25f, 4.0f},
EntityInfo{4, 4, 0.15f}, {1.25f, 1.25f}},
/* 12 */ EntitiesData{BulletInfo{16, 0.1f, 5.0f},
EntityInfo{2, 3, 0.15f}, {1.25f, 1.25f}},
/* 13 */ EntitiesData{BulletInfo{23, 0.2f, 2.75f},
EntityInfo{15, 17, 0.15f}, {1.25f, 1.25f}},
/* 14 */ EntitiesData{BulletInfo{25, 0.225f, 3.25f},
EntityInfo{13, 15, 0.15f}, {1.25f, 1.25f}},
/* 15 */ EntitiesData{BulletInfo{32, 0.3f, 4.2f},
EntityInfo{12, 12, 0.15f}, {1.25f, 1.25f}},
};
}

Expand Down
Binary file modified coursework/x64/Debug/DataInitialization.obj
Binary file not shown.
Binary file modified coursework/x64/Debug/coursework.ilk
Binary file not shown.
Binary file modified coursework/x64/Debug/coursework.tlog/CL.command.1.tlog
Binary file not shown.
Binary file modified coursework/x64/Debug/coursework.tlog/CL.read.1.tlog
Binary file not shown.
Binary file modified coursework/x64/Debug/coursework.tlog/CL.write.1.tlog
Binary file not shown.
Binary file modified coursework/x64/Debug/coursework.tlog/link.read.1.tlog
Binary file not shown.
Binary file modified coursework/x64/Debug/vc143.idb
Binary file not shown.
Binary file modified coursework/x64/Debug/vc143.pdb
Binary file not shown.
Binary file modified coursework/x64/Release/DataInitialization.obj
Binary file not shown.
Binary file modified coursework/x64/Release/Launcher.obj
Binary file not shown.
Binary file modified coursework/x64/Release/coursework.iobj
Binary file not shown.
Binary file modified coursework/x64/Release/coursework.ipdb
Binary file not shown.
Binary file modified coursework/x64/Release/coursework.tlog/CL.command.1.tlog
Binary file not shown.
Binary file modified coursework/x64/Release/coursework.tlog/CL.read.1.tlog
Binary file not shown.
Binary file modified coursework/x64/Release/coursework.tlog/CL.write.1.tlog
Binary file not shown.
Binary file modified coursework/x64/Release/coursework.tlog/link.read.1.tlog
Binary file not shown.
Binary file modified coursework/x64/Release/vc143.pdb
Binary file not shown.
Binary file modified x64/Debug/Void Guardian.exe
Binary file not shown.
Binary file modified x64/Debug/coursework.pdb
Binary file not shown.
Binary file modified x64/Release/Void Guardian.exe
Binary file not shown.
Binary file modified x64/Release/coursework.pdb
Binary file not shown.

0 comments on commit 1975d29

Please sign in to comment.