Im making an editor where a user can create simple text based games.
Basically you create a project that has screens
Each screen can have different events like showing text, playing sound or a choice to go to a different screen
A project can be written to an xml file. When an xml file is loaded the data is converted back to screen and event objects.
I also have a part to play the project. Now what I want is to make an option where a user can convert the project to an exe file.
If possible without attaching the xml file to it, or else to make the xml file hidden.
The only way to do this I found so far is with codedom, but I dont quite get how this works and I was kinda hoping there is an easier way.
Also im pretty sure this way the xml file needs to be loaded everytime the exe is started.
So my question: is there a way to make an exe out of a bunch of objects a form and some functions needed to play the game.
Basically you create a project that has screens
Each screen can have different events like showing text, playing sound or a choice to go to a different screen
A project can be written to an xml file. When an xml file is loaded the data is converted back to screen and event objects.
I also have a part to play the project. Now what I want is to make an option where a user can convert the project to an exe file.
If possible without attaching the xml file to it, or else to make the xml file hidden.
The only way to do this I found so far is with codedom, but I dont quite get how this works and I was kinda hoping there is an easier way.
Also im pretty sure this way the xml file needs to be loaded everytime the exe is started.
So my question: is there a way to make an exe out of a bunch of objects a form and some functions needed to play the game.
Last edited: