First Prototype of Knight vs Wizard


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:
    • Menu
  • Displays a cool intro and a play button.
    • Gameplay
    • Game Over
  • 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:
    • Enemy movement.
  • 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

  1. Launch the game and navigate the main menu.
  2. Use the drag-and-drop system to place towers strategically on the field.
  3. Defeat waves of enemies, earn currency, and upgrade your defenses.
  4. Survive as many waves as possible to achieve a high score.
  5. 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.

Files

KnightVsWizard.rar 1.5 MB
8 hours ago

Get Knight VS Wizard

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.