A game with its own editor
I have created a game which really requires its own editor so the game gets never dull. The game is just 2D but unfortunately there is still much data which is needed to be saved by the editor so the game would run...
I am saving the data from the editor to a txt file. I am looking for some method how to make my game read the txt file as a code not as a string. That might sound weird doesnt it?
So I need the text typed in the txt file to be treated as code source not a string. If it was as a string there would be needed much more code in the game to read needed data appropriately.
Thx for support