Here are the steps how you can reskin this game and how to manipulate its core functionality
Note-> Please take care of name and resolution otherwise it will not used properly.
Here is the Name of splash images Default-568h.png [email protected]
3. Change product identifier of inapp purchase
There is a file ?Constant.swift? in given source code, its located in root in project explorer In this file we declared a constant ?productidentifier? - You can place your product identifier here
Developed in SWIFT language iAd integrated for free version
User can upgrade the free version to pro version
4. Change number of Line Path and Path name
There is a file ?Constant.swift? in given source code, its located in root in project explorer In this file we declared a constant ?numOfPaths? - You can place your number of path here
Note: - In this version we are accepting 20 paths maximum, due to some reason, if you try to put more then 20 path then we will ignore other paths after 20
To change file name of different kind of theme lines you can change the name of file in below constants
let normalDayThemeImageName = "stayline"let normalNightThemeImageName = "staylinewhite" let neonDayThemeImageName = "staylinewhiteneon" let neonNightThemeImageName = "stayline_neon"
Now, how will our software use images name of paths, its necessary to understand you, so describing here so it makes easier for you.
Note -> please put the file name without number...
for ie... if your images name is stayline1,stayline2... then put file name only ?stayline? (we will put 1,2,3... programmatically)
Make sure you have all images which you define number of paths above...
like if you define numOfPaths to 6 above then image for staline should be stayline1.png, stayline2.png, stayline3.png, stayline1.png, stayline4.png, stayline5.png, stayline6.png
In case you provide the file name which does not exist then software will not work
We are using following frameworks According to key feature in Stay In line game
We are using native iAd for ad implementation as there is no other sdk available for swift language
2. In App purchase
We are using some wrapper classes for in app purchase, actually sourced from https://github.com/swapgo20/iOS-In-App-Purchase/tr...
All source is located in a folder ?In app purchase? in Source code
3. Background music and game sound
We are using iOS native framework to play background sound and music
4. Detect correct path in path images
We are using native classes for finding player position on image, we are finding pixel color at player position, if it is black or white then the game is continue other wise game over.
5. Other Source
We are using native ui controls for showing all screen in game
Mostly there are two files in this game
Constant.swift-> Here we define some constants related to game, where user can modify/reskin the game
ViewController.swift -> This is the main class of the game, you do not need to modify in this class for reskin if you are not expert iPhone developer.