Debug Menu Support
- itzvnodm
- Feb 7, 2015
- 1 min read
Added a "Debug Menu" to provide run-time data tweaking.
` or ~ (backtick or tilde) to activate or deactivate.
Once activated the Debug Menu takes the input focus away from the main game.
Navigate the Debug Menu via the arrow keys... up/down to select items, left/right to modify the current selection.
Provided the following functionality via the Debug Menu
Frame rate monitor (via 'Text' widget)
Adjust fly-cam speed (via 'Slider' widget)
Reset fly-cam back to the origin (via 'Button' widget)
Added debug shape drawing
Line
Box
Sphere
The Debug Menu and debug shapes will completely vanish from your code in a release build.


![Flappy Bird clone ! [Using my own C++ Game Engine]](https://static.wixstatic.com/media/5ab37f_6f5eaa61ba744460bf8bbc86ef50cc47.png/v1/fill/w_306,h_250,fp_0.50_0.50,q_35,blur_30,enc_avif,quality_auto/5ab37f_6f5eaa61ba744460bf8bbc86ef50cc47.webp)
![Flappy Bird clone ! [Using my own C++ Game Engine]](https://static.wixstatic.com/media/5ab37f_6f5eaa61ba744460bf8bbc86ef50cc47.png/v1/fill/w_38,h_31,fp_0.50_0.50,q_95,enc_avif,quality_auto/5ab37f_6f5eaa61ba744460bf8bbc86ef50cc47.webp)
Comments