For some reason, whenever I attack the enemy, the wall jumping bundle gets extremely messed up and you won’t stick to walls. I don’t know what’s causing it as I reset the rotation after every dash but it still doesn’t fix it. So I’m pretty stuck on what to do and I don’t want to progress because the wall jump mechanic is pretty crucial and so is the attacking.
Link: Flowlab Game Creator - Bit Spire
How to reproduce: Go to the “Big Tower, Tiny Square” level, go to the left, and find the red block next to the wall jumping walls. Press S when you are close to the enemy (it detects using proximity) and you should dash to and bounce off of the enemy. Then try to wall jump and it won’t work as usual.
Okay, well now I know it’s not the rotation that’s causing the issue. Simply just colliding with the enemy seems to mess up the wall jumping. But why???
Never mind. The wall jump is messed up even without colliding with the enemy. Now I’m even more confused. It’s not like I changed any code in the bundle…
You just had to disconnect the Rotation set, which was an extra bit of code you added that wasn’t originally on the Wall Jump Bundle.
This rotation set basically messed up with the Flip and Raycasts inside the bundle, because the rotation of the player matters when wall-jumping (if you are facing left, it jumps left)