Original Post
🔒 Locked
console...
Advertisement
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
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
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement