For this chapter, we will create a new project to run on an Android device. While creating a project, keep in mind that the project needs to be developed in Objective-C and not Swift as the Android plugin doesn't support it.
I have created a project called SBAndroid
for this chapter, so we will first open the Sprite builder project.
We will then navigate to File | Project Settings.
Here, we can see the locations for iOS and Android resources. For iOS, they will be in the Published-iOS
folder, and for Android, they will be in the Published-Android
folder.
Similar to iOS, Android resources will be created for the phone
, phonehd
, tablet
, and tablethd
devices.
Sceen mode is Flexible, and Orientation is set to Landscape. If you are developing a game for the Portrait mode, you can change the orientation here.
To close the window, we will navigate to File | Publish.
Now, we will plug our device into the Mac PC.
Next, we will open the Xcode
project...