mirror of
https://github.com/BreizhHardware/project_sanic.git
synced 2026-05-09 08:15:51 +02:00
[PR #42] [MERGED] Dev felix #41
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BreizhHardware/project_sanic#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BreizhHardware/project_sanic/pull/42
Author: @BreizhHardware
Created: 4/10/2025
Status: ✅ Merged
Merged: 4/10/2025
Merged by: @BreizhHardware
Base:
dev← Head:dev_felix📝 Commits (3)
722719eFeat(Cinematic) - Enhance cinematic playback by allowing multiple levels; refactor play_cinematic method to track played cinematics and improve text display functionality.178074aFix(.gitignore) - Add pycache directory to ignore list; ensure Python cache files are excluded from version control.d617e82Update src/Map/cinematic.py📊 Changes
3 files changed (+97 additions, -51 deletions)
View changed files
📝
.gitignore(+2 -1)📝
src/Map/cinematic.py(+94 -47)📝
src/Map/parser.py(+1 -3)📄 Description
This pull request includes significant changes to the handling of cinematics in the game. The primary updates involve refactoring the cinematic playback logic to support multiple levels and improving the cinematic display with gradient backgrounds and text animations.
Improvements to cinematic handling and display:
src/Map/cinematic.py: Replaced thehas_played_level1class variable with aplayed_cinematicsdictionary to track the playback status of multiple levels.src/Map/cinematic.py: Refactored theplay_cinematicmethod to handle cinematics for multiple levels by introducing_create_gradient_backgroundand_display_cinematic_texthelper methods. [1] [2]Code cleanup:
src/Map/parser.py: Removed thecinematic_playedinstance variable and updated theload_mapmethod to play cinematics for all levels instead of just Level 1. [1] [2]🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.