vs26625 / platformer_3x

Apache License 2.0
0 stars 0 forks source link

Fix the Issue that Causes Mario's Animation to break when he is on top of a structure. #10

Open vs26625 opened 5 months ago

vs26625 commented 5 months ago

Here are the steps for committing changes to fix a glitch related to sprite animation during idle on brick walls in a 2D Mario game on a GitHub repository:

  1. Identify the Glitch:

    • Clearly understand the glitch where the player character twitches continuously when idle on a brick wall due to sprite animation.
  2. Locate the Sprite Animation Files:

    • Identify the sprite animation files responsible for the player character's idle animation on brick walls. This may involve checking player or character-specific files.
  3. Modify the Idle Animation:

    • Edit the sprite animation frames for the idle animation on brick walls to ensure that the player character does not twitch continuously.
  4. Test Locally:

    • Test the modified idle animation locally to verify that the glitch has been fixed and that the player character behaves as expected when idle on brick walls.
  5. Commit Changes:

    • Use Git commands or a Git client like GitHub Desktop to stage and commit the changes made to the sprite animation files.
  6. Write a Descriptive Commit Message:

    • Write a clear and descriptive commit message explaining the purpose of the changes, such as "Fixed glitch in idle animation on brick walls to prevent player character twitching."
  7. Push Changes to GitHub:

    • Push the committed changes to the remote GitHub repository to update the game codebase with the fixed idle animation for the player character on brick walls.
  8. Create a Pull Request (Optional):

    • If working in a collaborative environment, consider creating a pull request to merge the changes into the main branch after thorough testing and review.
  9. Document Changes (Optional):

    • Optionally, update the game's documentation or README file to reflect the fixed glitch and any related changes made to the sprite animations.

Following these steps will help you effectively commit changes to fix the glitch related to sprite animation during idle on brick walls in your 2D Mario game on GitHub, ensuring a smoother gameplay experience for players. Issue by: Pranav Santhosh and Derek Kang

derekkang1 commented 5 months ago

Fix the issue where Mario is glitching and sort of vibrating when standing idle on a block: Untitled video - Made with Clipchamp