Git Product home page Git Product logo

sutd-game-dev's Introduction

ChemCraft

SUTD 50.033 Foundations of Game Design and Development Group 11

ChemCraft is a top-down 2D puzzle game set in a dungeon that makes use of chemistry concepts. It distinguishes itself from existing games in the market through having its solutions based on chemistry reactions between items collected within the level.

Git command workflow for working in /main

  1. Switch to master with git checkout master
  2. Get latest commits with git pull
  3. Checkout your own branch with git checkout -b my-branch
  4. Make your changes in the main folder. Try as far as possible to only make changes to your scene.
  5. While still in your branch, use git pull origin master. This pulls the latest changes on the master branch from github and tries to merge it with your local branch.
  6. Alternatively, if you want to look around at what changes have occured in master, use git fetch origin first. From here you can see all branches using git branch --all. To look around the changes on the remote master, use git checkout origin/master. To merge, use git merge origin/master while in your branch.
  7. From here, the easiest way I found to resolve merge conflicts is to use visual studio code (one click resolution of merge conflicts, much better than GitHub's)
  8. If you find you have more conflicts than lines of code and want to abort the merge, use git merge --abort

useful guide on this

Note: The gitignore has been updated to support subfolder support. So you can put individual parts into their own folder without running into Unity file conflicts.

Example:

github_repo
│   README.md
│   .gitignore
│   LICENSE
|
└───main
│   └───Assets
│   └───Library
│   └───obj
│   └───Packages
│   └───ProjectSettings
│   └─── ...
|
└───player_controls
│   └───Assets
│   └───Library
│   └───obj
│   └───Packages
│   └───ProjectSettings
│   └─── ...
│   
└───test_monster
    └───Assets
    └───Library
    └───obj
    └───Packages
    └───ProjectSettings
    └─── ...

In the unlikely event that a Unity file conflict does occur and you committed the change, you can use the following command to remove the file from the staging area. Note that this will not actually delete the file from your working tree.

git rm --cached <file>

sutd-game-dev's People

Contributors

huanan1 avatar chongyicheng avatar skimkoh avatar fewq avatar noblekid96 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.