-
Notifications
You must be signed in to change notification settings - Fork 4
03. Working With Battle Team
⚠️ Important: Ensure you’ve completed everything in Wiki Section 1: Prerequisites and Wiki Section 2: Local Cloning Guide before proceeding to make sure you have the project setupped and ready.
Assets/QuantumUser folder is where most of the Battle team development happens.
For testing out new builds and collaborating with other teams. Also discussing Prg related general topics.
For discussing Battle in general. Working together on tasks. Planning how to do things.
Check the meeting times from the shared Calendar.
You can also request a meeting for additional help by sending a message in Discord with the time and date (check shared Calendar) of the meeting to the appropriate person.
- Open Battle project view
- Click "+ Add item"
- Click +
- Click "Create new issue"
- Use template "Battle taski"
- Write task in finnish
- pull from main
- create your feature branch based on main
- Link your feature branch to the "Development" section on the task
-
Commit your changes to your feature branch.
- Use english in your commits
- Add your issue number to the end of commits message title.
- Commit early, commit often!
- Also remember to push to remote
- When necessary merge changes from main branch to your feature branch.
- Create a pull request
- Use english
- Wait for someone to review your pull request before merging to main.
We primarily use main branch for development.
However the main branch is protected so you can't directly push into it.
From the main branch you branch out feature branch.
Once your task is done you merge your branch back to main.
The term "Feature branch" refers to feature branch workflow which is used for most tasks in battle development. Not all feature branches are features. They could be fixes or something else.
Create a feature branch for every task you are working on.
- Make sure you are on the main branch before creating a feature branch
- Make sure that you choose the main branch as the base branch when using GitHub desktop
The basic structure we use for branch names in Battle-Team is: <Team>/<type>/<name>
Branch types:
- feature
- update
- refactor
- fix
For example:
Battle/feature/BallPhysics
Battle/refactor/Collisions
Battle/fix/PlayerMovement