/arcadegame

Arcade Game made for Option16's arcade machine

Primary LanguageC#

Arcade Game

@Devs: NOTE: Before ever doing work on the game, make sure to get changes from the base

Table of Contents

  1. Releases
  2. Contributors
  3. Developing the Game
  4. Getting the Game
  5. Adding a Game
  6. Getting Changes

Releases

Download the latest version from the releases page, or play it online

Contributors

Credits Image

Developing the Game

Getting the Game for Development Use

  1. Fork the Repo

  2. Open Git Bash / Terminal

  3. Run command:

git pull https://github.com/<your_username>/arcadegame

  1. Open Folder in Unity
  2. Done!

Adding a Game

  1. Import unity package

  2. Make a folder in Scenes/<GameName>

  3. There should be a Sprites folder, and a Scripts Folder

  4. The Scene Name must be called the same as your ALERT WORD

  5. 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

}
  1. Go to Build Settings and Add Open Scenes

  2. Go to Main.cs (located in Scenes/TitleScreen/Scripts and alter the array so your game is included

  3. The name of the game MUST match not only the name of the scene, but also the name of the ALERT WORD

  4. Push to Github

    git add -A git commit -m “Your Message” git push

  5. Submit a Pull Request

Getting Changes

  1. git pull upstream master

  2. If you never setup upstream paste in the below code after cding into the appropriate directory

    git remote add upstream https://github.com/ronakdev/arcadegame

    git pull upstream master