Created
April 13, 2026 09:30
-
-
Save pazalla/a974e1279b3aab0f78e024ae5d8718e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| setlocal enabledelayedexpansion | |
| :: [CONFIGURATION] | |
| :: Replace the following variable with your user/organization and target repository | |
| set REPO=YourUser/YourGameRepo | |
| echo ======================================================== | |
| echo π Starting GitHub issue automation for Game Dev | |
| echo Target Repository: %REPO% | |
| echo ======================================================== | |
| echo. | |
| :: --- STEP 1: Label Bootstrap --- | |
| echo β³ Configuring game development labels... | |
| :: gh label create --repo "repo" "Name" --color "hex" --description "desc" --force | |
| :: (The --force flag updates the label if it already exists, preventing errors) | |
| gh label create --repo "%REPO%" "Epic: Core Gameplay" --color "0075ca" --description "Mechanics, physics, and game loop logic" --force | |
| gh label create --repo "%REPO%" "Epic: Art & Audio" --color "c2e0c6" --description "2D/3D Assets, animations, SFX, and OST" --force | |
| gh label create --repo "%REPO%" "Epic: Engine & Tech" --color "d93f0b" --description "Architecture, performance, and optimization" --force | |
| gh label create --repo "%REPO%" "Epic: UI/UX" --color "a2eeef" --description "Menus, HUD, and user flow" --force | |
| echo β Labels configured. | |
| :: --- STEP 2: Issue Creation --- | |
| echo. | |
| echo π Generating tasks on the board... | |
| :: Example 1: Core Gameplay Task | |
| echo Creating Ticket GAME-001... | |
| ( | |
| echo ### Description | |
| echo Implement the core jump mechanic for the player character, including coyote time and jump buffering to ensure responsive controls. | |
| echo. | |
| echo ### Acceptance Criteria | |
| echo - [ ] The player can jump by pressing the 'Spacebar' or 'A' button on the gamepad. | |
| echo - [ ] Implement 'Coyote Time' (allow jumping for 0.15s after walking off an edge). | |
| echo - [ ] Implement 'Jump Buffering' (register jump inputs 0.1s before hitting the ground). | |
| echo - [ ] Jump height should be variable depending on how long the button is held. | |
| ) > temp_body.txt | |
| gh issue create --repo "%REPO%" --title "GAME-001: Player Jump Mechanics & Polish" --label "enhancement" --label "Epic: Core Gameplay" --body-file temp_body.txt | |
| :: Example 2: Art & Audio Task | |
| echo Creating Ticket ART-001... | |
| ( | |
| echo ### Description | |
| echo Integrate dynamic footstep sound effects based on the surface the player is walking on. | |
| echo. | |
| echo ### Acceptance Criteria | |
| echo - [ ] Import the grass, stone, and wood footstep SFX audio clips into the project. | |
| echo - [ ] Set up an AudioSource on the player prefab. | |
| echo - [ ] Raycast downwards to detect the physical material/tag of the ground. | |
| echo - [ ] Play the corresponding SFX clip when the walk animation triggers an animation event. | |
| ) > temp_body.txt | |
| gh issue create --repo "%REPO%" --title "ART-001: Dynamic Surface Footstep SFX" --label "enhancement" --label "Epic: Art & Audio" --body-file temp_body.txt | |
| :: Example 3: Engine & Tech Task | |
| echo Creating Ticket TECH-001... | |
| ( | |
| echo ### Description | |
| echo Implement an Object Pooling system for the enemy projectiles to prevent memory spikes during intensive combat encounters. | |
| echo. | |
| echo ### Acceptance Criteria | |
| echo - [ ] Create a generic `ObjectPooler` class. | |
| echo - [ ] Pre-instantiate 50 generic plasma bullets at the start of the level. | |
| echo - [ ] Refactor the enemy shooting script to request bullets from the pool instead of using `Instantiate()`. | |
| echo - [ ] Return bullets to the pool when they hit an obstacle or go off-screen instead of using `Destroy()`. | |
| ) > temp_body.txt | |
| gh issue create --repo "%REPO%" --title "TECH-001: Object Pooling for Projectiles" --label "enhancement" --label "Epic: Engine & Tech" --body-file temp_body.txt | |
| :: --- STEP 3: Cleanup --- | |
| :: Delete the temporary file used to store the issue bodies | |
| del temp_body.txt | |
| echo. | |
| echo ======================================================== | |
| echo β Process completed successfully! | |
| echo ======================================================== | |
| pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment