fix: Rename variables and upgrade shield sprites to multipart#1155
Open
OH296 wants to merge 1 commit into
Open
fix: Rename variables and upgrade shield sprites to multipart#1155OH296 wants to merge 1 commit into
OH296 wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
1 issue found across 32 files
Confidence score: 3/5
- There is a concrete medium-severity regression risk: in
scripts/scr_culture_visuals/scr_culture_visuals.gml,single_left_right_profileis set at variant scope but dropped before draw, so the shield variant can miss its intended single-profile rendering path. - I chose a moderate-risk score because the issue is user-facing behavior with high confidence (6/10 severity, 9/10 confidence), even though it appears localized to one script rather than a broad architectural problem.
- Pay close attention to
scripts/scr_culture_visuals/scr_culture_visuals.gml- ensure variant-scopedsingle_left_right_profilesurvives to the draw logic for shield rendering.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="scripts/scr_culture_visuals/scr_culture_visuals.gml">
<violation number="1" location="scripts/scr_culture_visuals/scr_culture_visuals.gml:3246">
P2: `single_left_right_profile` added at variant scope is dropped before draw; shield variant will not use the intended single-profile path.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
Contributor
|
This PR is marked as stale, because it has been open for 7 days with no activity. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose and Description
Testing done
Related things and/or additional context
Summary by cubic
Renamed the weapon rendering flag to
single_left_right_profileand moved Storm Shield sprites to a multipart setup with subcomponents. This clarifies intent and enables richer shield variants without duplicating sprites.New Features
subcomponents(primary decoration + boss layer).spr_weapon_stormto one frame and updated bounds; registered new assets in the project.Refactors
new_weapon_drawtosingle_left_right_profileacross weapon data and UI.scr_ComplexSet,scr_culture_visuals, andscr_ui_display_weaponsto use the new flag.Written for commit 13d10e8. Summary will update on new commits. Review in cubic