Repository of Bit Swap game, created to take part in midyear Flame Game Jam.
This app is using fvm to manage flutter version.
To install fvm call pub global activate fvm.Then go to project directory and call fvm install and set correct project SDK path.
From now on call fvm flutter instead of flutter in terminal commands.
GitFlow Please:
- work on feature branches
- create pull requests to
developbranch - push to
mainbranch to release new version
Please name branches with feature of bugfix and a brief description. For example: feature/Handle-player-movement.
This repository is using conventional commits to keep commits well organized. Git hooks are used to ensure that the commit message have proper syntax.
Please run following commands from root of this repository to set it up:
git config core.hooksPath .githooks/ # To change default .git hooks directory
chmod ug+x .githooks/commit-msg # To allow execution in commit-msg fileExample of valid commit message: feat: Handle player movement
Call these command from main directory.
fvm install
fvm flutter pub getin both of them.
To run the application call this command or simply debug the app from vscode.
fvm flutter run -t lib/main.dartRun those commands from terminal to:
sort_imports.sh- automatically sort all imports and format code.intl_utils.sh- regenerate localization files. You should call it after making changes in.arbfiles.