1.5 KiB
1.5 KiB
Compiling Friday Night Funkin' for Mobile Devices
This guide walks through the process of building for Android and iOS
Android
- Build the game for desktop to make sure everything works. Check COMPILING.md.
- Run
setup-android-[yourOS].batin the docs folder to automatically download the required development kits on your machine.- If for some reason the downloads don’t work (most likely JDK) Download it directly.
- (ONLY DO THIS STEP IF THE DOWNLOAD FAILED) After installing the JDK, make sure you know where it installed! If you installed using a
.msifile, it should be somewhere aroundC:\Program Files\. Go and look for anEclipse Adoptiumfolder and open it. - (ONLY DO THIS STEP IF THE DOWNLOAD FAILED) look for a folder named something like
jdk-17. Right click and click onCopy as path. - (ONLY DO THIS STEP IF THE DOWNLOAD FAILED) Go to your command prompt and type
haxelib run lime config JAVA_HOME [JdkPathYouCopied] - after that is done delete the
tempfolder that just got made.
iOS
Note that you can only build the game for iOS on a computer running MacOS.
- Build the game for desktop to make sure everything works. Check COMPILING.md.
- Get Xcode from the app store on your MacOS Machine.
- Download the iPhone SDK (First thing that pops up in Xcode)
- Open up a terminal tab and do
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer