Skip to main content
gamedev.net
🔒 Locked

console...

Started by xyz Jul 18, 2003 at 8:47 AM 1 replies 400+ views
Original Post
xyz
xyz
Hi, I want to create a console for my game... Is there any good tutorial on how to do it using opengl? and should I create a complete scripting language? Thanks
skap20
skap20
Creating a whole scripting language may be overkill. It really depends on what you want to do and how much control you want the user to have. If you want to interpret commands from the console and nothing else, it would probably be easier to just create a simple format for all console commands.
For example: [command] [arg1] [arg2] etc...

I actually just finished a console for my game. I was going to post the source code on my website but I still need to clean up the code a little. If you want, I could e-mail a copy to you. It was actually written for SDL, but that works right with OpenGL, so you may not even need to change the code.

--------------------
Nicholas Skapura
skapura.2@wright.edu
http://skap.8k.com
AIM: skap35
xyz
xyz
would appreciate that... thanks!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.