Integrate the Untold Engine with your Xcode project

  1. Create an xcode project- Cross-Platform Game
  2. Select Objective-C and Metal
  3. After the project has been created, go to Build Phases->Link Binary with Libraries and include the framework: GameControler.framework.
  4. Copy the code in AppDelegates and GameviewController from the engine demo into your AppDelegates and GameviewController files.
  5. Delete the Shared folder that came with the default project you created.

For the next three steps, you are going to copy three folders that come with the Untold Engine Demo.

  1. Copy the UntoldEngine4D folder into your project folder. Then drag the folder into xcode (MAKE SURE TO ADD BOTH iOS/MACOS Targets)
  2. Copy the Game folder into your project folder. Then drag the folder into xcode(MAKE SURE TO ADD BOTH iOS/MACOS Targets)
  3. Copy Resources folder folder into your project folder. Then drag the folder into xcode(MAKE SURE TO ADD BOTH iOS/MACOS Targets)
Image

Under Build Settings. 9.Make sure Mismatched Return Type is set as a Warning only and not as an Error.

  1. Objective-C Automatic Reference Counting is set to NO.
  2. Copy the code in main.m in the Untold Engine Demo into your main.m. The code will essentially set the correct working directory for the Resource folder.
  3. Rename extension of the AppDelegates.m and GameViewController.m to AppDelegates.mm and GameViewController.mm
  4. Make sure to add the #import "GameViewController.h" in the AppDeleage.mm file

Finally, click Build and Run. You should see 3D characters showing up on the screen. From this point on, you can modify the files in the Game Folder.