-
Notifications
You must be signed in to change notification settings - Fork 10
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
Balls can be pushed through walls using the paddle #1
Comments
This is not about walls being too small, but about RigidBodies (the paddle) being able to push other RigidBodies (balls) through StaticBodies (the TileMap). I currently don't have time to look into fixing it though. |
I won't lie, I figured there was a technical reason for it happening but I couldn't pass up the name |
@NelloDev Thanks for opening the first issue here still 🙂 |
The best games embrace technical limitations. Great developers use this a lot, Almost every time they find that a bug actually improves the game:
|
@sosasees I'm not sure about this. This could make sense in specific locations (e.g. with dedicated tiles), but not everywhere. |
What about if you still could push them through everywhere, but don't want to because the ship would explode when you pushed them through certain tiles? |
@sosasees Maybe, but that sounds more like a frustrating gameplay mechanic rather than a challenging one. |
I had in mind that the explodey tiles look different from the normal ones. |
I have another possible solution: |
I don't know exactly How we could do this, I imagine that the ball would:
I also came up with an other way to solve this, that i'm much more confident about: Redesign the player character to have 2 distinct collision zones, 1 outside 1 inside:
This way, you don't need any special programming to solve the issue. This solution might require a slight level redesign, |
@Calinou what do you think, are there any potentially good solutions for this bug in this thread? |
I don't have time to look into it, but feel free to experiment and open a pull request if you manage to get something working 🙂 |
i have gotten an error when opening the project in my copy of
the game seems unchanged by this error, |
Issue description:
Balls can be pushed through walls https://streamable.com/ag0zy
Steps to reproduce:
The text was updated successfully, but these errors were encountered: