@Devs: NOTE: Before ever doing work on the game, make sure to get changes from the base
Download the latest version from the releases page, or play it online
-
Open Git Bash / Terminal
-
Run command:
git pull https://github.com/<your_username>/arcadegame
- Open Folder in Unity
- Done!
-
Import unity package
-
Make a folder in
Scenes/<GameName>
-
There should be a
Sprites
folder, and aScripts
Folder -
The Scene Name must be called the same as your ALERT WORD
-
Add the following code to your win/lose functions
For win
if (win) { //however you check this
Main.status = “win-mg”;
SceneManager.LoadScene(“Transition”); // make sure to have the right imports for this
}
For lose
if (win) { //however you check this
Main.status = “lose-mg”;
SceneManager.LoadScene(“Transition”); // make sure to have the right imports for this
}
-
Go to
Build Settings
andAdd Open Scenes
-
Go to
Main.cs
(located inScenes/TitleScreen/Scripts
and alter the array so your game is included -
The name of the game MUST match not only the name of the scene, but also the name of the ALERT WORD
-
Push to Github
git add -A git commit -m “Your Message” git push
-
Submit a Pull Request
-
git pull upstream master
-
If you never setup
upstream
paste in the below code after cding into the appropriate directorygit remote add upstream https://github.com/ronakdev/arcadegame
git pull upstream master