-
Notifications
You must be signed in to change notification settings - Fork 9
How to execute SimpleGame
Once you built the engine, you would like to try or edit SimpleGame. The problem is that SimpleGame can't be executed before doing a couple of things. Read all of them here.
(It's better if you attemp to execute SimpleGame both in Debug and Release mode to create the folders we're gonna use)
-
Assimp
- Copy the file
assimp-vc140-mt.dll
fromexternal\assimp\build\code\Debug
toScrapEngine\x64\Debug
; - Copy the file
assimp-vc140-mt.dll
fromassimp\build\code\Release
toScrapEngine\x64\Release
.
- Copy the file
-
OpenAL-soft
- Copy the file
OpenAL32.dll
fromexternal\openal-soft\build\Debug
toScrapEngine\x64\Debug
; - Copy the file
OpenAL32.dll
fromexternal\openal-soft\build\Release
toScrapEngine\x64\Release
.
- Copy the file
No further steps are necessary to run the game from Visual Studio, just set SimpleGame as start project and run the solution.
To play the game from the .exe file, things are a bit different, because Visual Studio set the .exe workspace as the Solution folder. So we need to copy the assets folder to make the .exe see them.
Copy the assets
folder from ScrapEngine\assets
to ScrapEngine\x64
.
Now you should able to run the game clicking on the .exe file.
This documentation describe only a small part of the engine, since it's not made to be used by a large amount of people.
If you would like to know more about a part of the engine, how to do something, or if a part of the documentation is not correct/out of date, please open an issue and tell me.
Thank you for reading the ScrapEngine Wiki!
Getting started
Engine structure
Using the Engine