Repository for hosting the Godot project for Unnamed Roguelike Game.
- Download Godot 4.1.1 for your pc from the Godot Github releases page, and unzip the executable.
- Install git from the Git website
- Open a terminal (I use Hyper but you can use the normal command line) in the folder you would like to store the repository in.
- Clone the project repository with
git clone https://github.com/Unnamed-Roguelike-Game/Game.git - Import the project in Godot by pressing import, then navigating to where you cloned the repository, then clicking on the
project.godotfile in theUnnamed Roguelike Gamefolder.
- Ensure your branches are up-to-date.
- Choose a task that you are interested in, assign yourself, and move it to in-progress.
- Open a terminal in the
Gamefolder. - Read up on the Git Basics section below or ask questions if you are unfamiliar with Git.
- Branch off of main, and create a new branch in this format:
dev/IssueNumber-Issue_Name_or_Description - Example:
dev/A1.1-Character_Movement - Checkout to your newly created branch, work on your branch, and when you finish the task, open a pull request and get two approvals, and mention the issue number in your pull request.
- When you receive two approvals, squash and merge your pull request, and put the Github issue # of your task in the front of the merge message.
- Do not be afraid to ask questions.
- Read the Godot Documentation for references.
- Look up how other people have solved your problem or similar problems with Godot.
- Use
git branch example-branch-nameto make a new branch. - Use
git checkout example-branch-nameto switch to a different branch. - Use
git add .to add all your changes to be committed. - Use
git commit -m "Your message here"to make a commit and add a message along with it. (Any time you make a decent amount of changes, you should commit it with a descriptive message). - Use
git pushto push your changes to your current branch. - When you finish your task, open up a pull request to merge your changes into main.
- From here, get two approvals, make any necessary changes, and squash and merge your changes, and place the issue number for the task you worked on in front of the merge message.
- Once merged, delete the branch, close your issue, and set its status to Done.