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

Make the Mole, Root Sapling, and Corrupted Big Granito a StickyBadguy #3135

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

swagtoy
Copy link
Contributor

@swagtoy swagtoy commented Dec 8, 2024

Fixes #3132

I did some basic testing, but I need someone to properly test the stickiness.
Thank you!

@swagtoy swagtoy changed the title Make the Mole, Root Sapling, and Corrupted Big Granito a StickyBadguy [NO SQUASH] Make the Mole, Root Sapling, and Corrupted Big Granito a StickyBadguy Dec 8, 2024
@swagtoy
Copy link
Contributor Author

swagtoy commented Dec 8, 2024

Thx king. I think it's good to merge

Edit: No

@weluvgoatz
Copy link
Member

No?

@swagtoy
Copy link
Contributor Author

swagtoy commented Dec 8, 2024

???

@Rusty-Box
Copy link
Member

Rusty-Box commented Dec 9, 2024

@swagtoy Btw. there were other instance of 'BadGuy' in 'corrupted_big_granito.cpp' in line 52 and 62. Wasn't sure if I also replace that with 'StickyBadguy' or not.

@swagtoy
Copy link
Contributor Author

swagtoy commented Dec 9, 2024

Wait hold on this PR sucks a lot

@swagtoy
Copy link
Contributor Author

swagtoy commented Dec 9, 2024

RE @Rusty-Box There is actually nothing wrong with calling Badguy::* functions, but for consistency I have made it go to the StickyBadguy in any situation where these functions may ever get overloaded

@swagtoy swagtoy changed the title [NO SQUASH] Make the Mole, Root Sapling, and Corrupted Big Granito a StickyBadguy Make the Mole, Root Sapling, and Corrupted Big Granito a StickyBadguy Dec 9, 2024
I wasn't calling the actual sticky related functions like an idiot. I have discussed that this can be refactored one day anyway, so it's whatever...
@swagtoy
Copy link
Contributor Author

swagtoy commented Dec 9, 2024

@Rusty-Box You can now test this again. I apparently didn't even call the sticky functions like an idiot. They are now getting called and I've also applied your suggestion.

@swagtoy
Copy link
Contributor Author

swagtoy commented Dec 13, 2024

Just a note for myself: Need to fix Root Sapling and Corrupted Big Granito; these do not work in this PR.

src/badguy/badguy.hpp Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Corrupted Big Granito and others cannot be set to "sticky" in Level Editor
4 participants