/DungeonStompDirectX12

Dungeon Stomp is a DirectX12 3D dungeon game.

Primary LanguageC++MIT LicenseMIT

Dungeon Stomp DirectX12

Dungeon Stomp

Dungeon Stomp DirectX12 with Vertex and Pixel shaders (blinn-phong).

  • Dungeon Stomp is a DirectX12 3D dungeon game that uses Direct3D, DirectInput and XAudio2
  • It is a complete game with level advancement and 15 levels
  • Materials (Diffuse Albedo, Fresnel, Roughness)
  • Lighting uses blinn-phong-fresnel pixel shaders
  • DDS Texture mipmaps
  • Normal Maps (specular map in alpha channel)
  • Cube Maps (Skybox)
  • Shadow Maps
  • Screen space ambient occlusion (ssao)
  • Fog, Alpha transparency and Alpha testing
  • Head bob using two sine waves
  • XBOX game controller is supported (you can enable it in DirectInput.cpp)
  • Used "Introduction to 3D Game Programming with DirectX 12" by Frank Luna as a reference
  • Written in Microsoft C++

It will compile using Microsoft Visual Studio 2022 community edition. For best results compile in 'Release' mode. Happy Dungeon Stomping - Breeyark!

Vulkan

Dungeon Stomp for Vulkan, a work in progress, is avaiable Dungeon Stomp Vulkan.

Controls

  • WSAD to move, E to JUMP
  • SPACE to open doors
  • Q/Z to cycle weapons/spells
  • Left mouse button to attack, right mouse button to move forward
  • Maximize screen then press ALT+ENTER to enter FULLSCREEN mode
  • Press F5 to Load game, F6 to Save game

Debug Controls

  • G - Toggle gravity (Keypad +/- move up, move down)
  • I - Disable music
  • P - Random music
  • X - Give experience points
  • K - Give all weapons and spells
  • M - Shadow map/ssao texture
  • O - Toggle SSAO (Screen space ambient occlusion)
  • B - Toggle Camera head bob
  • V - Toggle VSync
  • N - Toggle Normal map
  • ] - Next Dungeon Level
  • [ - Previous Dungeon Level

Dungeon Stomp

MD2 Models

Dungeon Stomp would not have been possible without the amazing MD2 models made by the following authors:

  • ALPHA werewolf [ Author: Andrew "ALPHAwolf" Gilmour ]
  • Bauul [ Author: Evil Bastard ]
  • Centaur [ Author: Scarecrow ]
  • Bug (Q2) [ Author: Tatey ]
  • Corpse [ Author: Neuralstasis ]
  • Demoness (Succubus) [ Author: Pascal "Firebrandt" Jurock ]
  • Dragon Knight [ Author: Michael 'Magarnigal' Mellor ]
  • Fulimo [ Author: Tim ]
  • Goblin [ Author: Conrad ]
  • Grey [ Author: RichB ]
  • Hellspawn [ Author: Alcor ]
  • Hueteotl [ Author: Evil Bastard ]
  • Hydralisk [ Author: warlord ]
  • Ichabod [ Author: Adam Ward (Gixter) ]
  • Imp [ Author: Paul Interrante and Brad Grace ]
  • Insect [ Author: Joe "Ebola" Woodrell ]
  • Morbo/Brawn [ Author: Rowan Crawford (Sumaleth) ]
  • Necromancer [ Author: Raven Software ]
  • Necromicus [ Author: Jade Moffatt Jones ]
  • Ogre [ Author: Didier 'The Doctor' Savanah ]
  • Ogro [ Author: Michael 'Magarnigal' Mellor ]
  • Orc [ Author: Boogieman ]
  • Perelith Knight [ Author: James Green ]
  • Phantom [ Author: Burnt Kona ]
  • Purgatori [ Author: Tom Colby ]
  • Rider [ Author: Blake ]
  • Sorcerer [ Author: E. Villiers ]
  • Tentacle [ Author: Marcus Lutz ]
  • Troll [ Author: Thargar ]
  • Werewolf [ Author: Brian Yee ]
  • Winter's Faerie [ Author: Evil Bastard ]
  • Wraith [ Author: Burnt Kona ]

Dungeon Stomp  - AI generated