Skip to content

SUTD 50.033 Foundations of Game Design and Development group 11

License

Notifications You must be signed in to change notification settings

fewq/sutd-game-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

SUTD 50.033 Foundations of Game Design and Development group 11

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published