Inspiration
My inspiration for Detect n Dash came from a desire to learn C++ and explore game development without relying on a traditional game engine. I aimed to create a fast-paced, engaging game that challenges players' reflexes and strategic thinking.
What it does
Detect n Dash is a stealth-action arcade game where players must collect gold coins scattered throughout the map while avoiding detection from patrolling enemies. Each enemy has a vision cone that determines when they can spot the player. Players start with three lives, and after each unsuccessful attempt, they face a new arrangement of enemies and coins, ensuring that the gameplay remains fresh and challenging. The goal is to collect all coins in the shortest time possible, adding an element of speed and urgency.
How I built it
I built the game using C++ and Raylib, a powerful library that simplifies graphics handling and allows for efficient game development. I focused on creating a modular code structure and implementing classes for the player, enemies, and collectibles. Raylib’s functionality made it easier to handle graphics, and input, enabling me to concentrate on gameplay mechanics such as collision detection, and player movement.
Challenges I ran into
During development, I faced challenges related to accurately implementing collision detection to ensure proper interactions between players and enemies. Connecting different game objects, such as the camera to the player and the vision cone to the enemies, also proved to be a complex task. Balancing the game's difficulty was another hurdle; I needed to ensure that while the enemies were challenging, they were not overly punishing. Additionally, optimizing the game's performance with dynamic enemy and coin placements required thorough testing and refinement.
Accomplishments that I am proud of
I’m proud of successfully creating a functioning game from scratch, showcasing my ability to learn and apply new programming concepts in C++. The integration of engaging gameplay mechanics and the dynamic nature of enemy and coin placements are highlights of the project. I also take pride in my ability to debug and optimize the game, enhancing the overall player experience.
What I learned
Through this project, I gained valuable insights into game design principles, programming in C++, and the iterative process of developing a playable game. This experience has deepened my understanding of game development and provided me with practical skills I can apply to future projects.
What's next for Detect n Dash
While I have no set plans for this project in the future, I intend to apply the skills I've learned here to future projects, whether using Raylib or exploring game development with Unreal Engine. I’m excited to continue developing my programming skills and diving deeper into game design, potentially expanding upon the concepts introduced in Detect n Dash.

Log in or sign up for Devpost to join the conversation.