H
H
Hocksten2015-08-16 23:48:11
C++ / C#
Hocksten, 2015-08-16 23:48:11

How to create exe from c++ cli form?

Hello, I'm writing a game engine (for self-development) ran into a problem.
How to implement, let's say on the button, in a certain folder an exe's file of the game was created, in other words, to separate the engine from the game itself and get the game at the output.
I think to dig in the direction of 2 projects in the solution (Visual studio) I ask for help)
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
Zelimkhan Beltoev, 2015-08-17
@hocksten

Too little input to give you an answer.
As I understand it, in your case the engine is planned in the form of a game editor, in which, by pressing the magic button " Create a game " (figuratively), an exe file will be compiled, right?
In this case, you will need to supply the compiler with the engine and, when you press that magic button, start the compilation process. Well, the files for compilation will be created and filled by the editor based on user actions

A
Artem, 2015-08-17
@JustSokol

you either have a confusion in terms or a misunderstanding of the architecture of building modern programs / games / Info.System.
The engine cannot be separated from the game, as it is an integral part of it.
it's like "I want to separate the skeleton from the person so that the person lives without the skeleton somewhere else." The engine is the skeleton of the game.
if by "engine" you meant an editor or something like that, then you need to change your understanding of the architecture of games. since the editor only configures various loadable files for the game (more precisely, for its real engine, and not what you mean by it).
the editor does not usually create a game (although of course, in theory, this can probably be perverted) but only configures through various plug-in files (models, textures, scripts,

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question