Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colliders: colType -> colMaterial #2186

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

Dragorn421
Copy link
Collaborator

Split from #1925

Rename Collider.colType / COLTYPE_ -> Collider.colMaterial / COL_MATERIAL_

Copy link
Contributor

@krm01 krm01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i can't say i had a problem with the old name, but the new name is at least equivalent to me, so LGTM

@fig02
Copy link
Collaborator

fig02 commented Sep 11, 2024

type as its currently called is far too broad. that could mean anything: shape? (cylinder/sphere/tri etc) function? (ac/at/ot)
meanwhile material is way more specific, it describes the sound it makes when hit and the particles that appear when hit

@Dragorn421
Copy link
Collaborator Author

Yeah "type" makes this sound too important when it's just graphical changes

@fig02
Copy link
Collaborator

fig02 commented Sep 11, 2024

more than graphical right cause audio too, but yeah point is still the same

@Dragorn421
Copy link
Collaborator Author

Yeah there's also one place (afaik only one) where it changes sfx, but most sfx changes are handled by the elem materials (currently types) afaict

@fig02 fig02 merged commit f193311 into zeldaret:main Sep 12, 2024
1 check passed
@Dragorn421 Dragorn421 deleted the colliders_colmaterial branch September 12, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants