Hello i have a question how can i get the source code for my game but im not talking about with the editor im talking about just the code that makes up the game only.
Thanks
Hello i have a question how can i get the source code for my game but im not talking about with the editor im talking about just the code that makes up the game only.
Thanks
what you mean by “source code”? You should have access to that if you make a game
Im trying to figure this out im mostly new to this, what i want to do is get the code for the game itself so i can open it on Visual Studio to run and debug the game only.
Again im new to this and its hard to explain i just want the code that will debug the game only in visual studio the C++ project in Visual Studio debugs the engine but i only want to debug the game.
There is many Build Configurations you can use. Only the Build configurations with “Editor” has the editor included so just pick one of those without “Editor”.
If you are using an installed engine (not compiled from source) then You could use the DebugGame configuration.
In a source build you can also debug the Engine and build Server or Client only builds.
That only build game module wihout optimization so you can probe varables without issue, but the engine is still being debug regardless, game is part of the enigne
You can’t debug only game, that because when you make C++ project, you make a extra engine code module that is added to existing pool go enigne modules, technically your game code is also engine code, and it reason why when oyu code crash it crash entire engine, because your game becomes part of the engine… or rether engine is part of your game.
Im still confused by your quastion thru, you open your game source by opening solution (sln) file in project directory, you can also open it in editor menus. You solution will have UE4 source files as again for UE4 engine is part of the game.