Devlogs
First Prototype of Knight vs Wizard
Posted December 18, 2024 by Adami.exe
#New Version #0.0.1
Knight vs Wizard 0.0.1
yo ,
i've just finished this little project that i made with a friend (s/o Merwann) in 3weeks (few hours per day) only using c++ raylib and no game engine and i wanted to share it there. its a draft and there is a lot of things that i would like to add in the future and i will list them down bellow but for now heres some info on the game and how to play it :
Controls
- Fully controlled using the mouse. Left click = ok Right click = back
- Drag-and-drop interface for placing towers from the HUD to the game field.
Terrain
- A complex randomly generated path serves as the route for enemies each time you run the game.
- The path leads to the player's castle, which must be defended at all costs.
Towers
- Towers can only be placed everywhere out the path.
- Towers will target and shoot enemies within their range.
- Three types of towers :
- Classic: Medium damage, and cost (80).
- SlowMo: Low damage, slows enemies, low cost (70).
- Explosive: High area damage, high cost (100).
- Towers can be upgraded to improve speed and damage in exchange for in-game currency.
- Drag-and-drop placement is blocked if the player cannot afford the tower.
Enemies
- Enemies attack in waves, moving toward the castle along the path.
- Display health above their models, showcasing their current status.
- Three enemy types (expandable):
- Gremlin: Medium speed, medium attack.
- Orc: Slow speed, high attack.
- Healer Bee: Fast speed, low attack, heals nearby allies or itself.
- Enemies damage the castle upon reaching it.
Currency System
- Earn currency by defeating enemies.
- Use currency to place and upgrade towers.
Waves
- Enemies attack in waves with intervals of 15secs, giving players time to strategize.
Game States
- Multiple game states:
- Displays a cool intro and a play button.
- Displays the player's score (number of enemy waves survived) upon defeat.
End of Game
- The game ends when the castle's health reaches zero.
- Final score and stats are displayed on the Game Over screen.
Bonus Features
- Sound Effects:
- Background music.
- Effects for shooting
- Animations:
- Tower Recycling:
- Option to dismantle towers and regain some resources.
- Procedural Generation:
- Every time the game is launched a new path is generated.
How to Play
- Launch the game and navigate the main menu.
- Use the drag-and-drop system to place towers strategically on the field.
- Defeat waves of enemies, earn currency, and upgrade your defenses.
- Survive as many waves as possible to achieve a high score.
- Click on tower to see their range , upgrade or delete them.
Future Improvements...
I would like to add next :
- a new aquatic path
- a new option to the menu to keep the seed of the map generated or reload a map
- a new biome
- a new ressource that will came with the lore of the game
i think thats all.