Firstly my experience with c++ is limited! I am working on a level editor for a game engine and I was wondering if I could have some sort of system were things were done in the level editor and the program would write c++ code for the user. Nothing complicated now, just a few lines added to a function here and there.
I am clueless about were to start so I was hoping someone could point me to a book or some sort of a guidance in making something to read and write c++ code for you. Has this ever been done before is the no need for it?
Or is there workarounds?
David
It’s better to use a language such as Lua or Python as a scripting language for a game engine. It makes no sense to produce more C++ for the ingame events and scripting (as it needs to be compiled and the language is more demanding to write than other languages).