Creating opengl console for cheats etc.
Can anybody point me in the direction of a tutorial for creating a console type system for a game or program? I would like to impliment something similar to the console you get when you press the ~ key in hl2. I tried google but didnt really find what I was looking for. Mostly the results thought I was talking about the normal console you get with cin and cout type stuff but I am looking for an opengl in game console system. Any suggestions?
Thank you!
Note that creating an in-game console system has very little specifically to do with OpenGL. (Ideally, display of the console should be abstracted away - the console itself shouldn't know anything about how it is to be displayed or rendered.)
As far as rendering the console goes, as long as you have a way to render text to the screen, you have everything you need to display a basic console. The real challenge is simply implementing the console system itself, which can be non-trivial, depending on what sort of features you want to support (the linked article above should give you a good starting point though).
As far as rendering the console goes, as long as you have a way to render text to the screen, you have everything you need to display a basic console. The real challenge is simply implementing the console system itself, which can be non-trivial, depending on what sort of features you want to support (the linked article above should give you a good starting point though).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement