Usually, I use the platforming thing they do in 8Scrolling Demo. But I found out, that the player bounces up and down like it's having a seisure, and that can lead to glitches. Do you know a way where it senses you're on a platform or not WITHOUT bouncing?
Offline
Bouncing? Like very short bounces?
Offline
Flait7 wrote:
http://scratch.mit.edu/projects/Flait7/215686 This game doesn't have the bouncing when the person's landed.
That's because most platformers have something to make it go to the top. In yours, it doesn't have that, so it doesn't bounce, but instead of going up the platform when it touches it, it stays in the middle until you jump.
The reason is because they use if touching color red, let's say, change y by 2, every time it touches red it goes up a little bit. That means that if it touches red, it goes to the top of the red platform, but it also means that every time it is on the red platform, it goes up a tiny bit. Then, it falls back down to the red platform, and as it moves up y by 2 every time it touches red, it'll bounce.
Offline
If I know what you're talking about, that "seizure" thing usually goes away in Presentation mode. If that's not what you're talking about, and you mean creating a platformer where when you land on a surface you don't bounce back up, those are more difficult. My project Bounce does it by using another sprite as a sensor. I'm fairly certain I know a method of doing it without a sensor (either color or external sprite), a method I'm currently using to minimize the effects, but it requires a number of if-statements directly proportional to the max speed of your y-velocity if that's okay.
Offline
Are you using y-velocity?
Offline