Discuss Scratch

cs104537
Scratcher
5 posts

Why is my sprite falling threw the ground?!?!?!?!?!?

Check my remix of your project.
LeoYa
Scratcher
3 posts

Why is my sprite falling threw the ground?!?!?!?!?!?

can someone help me to fix my character???
Because my character is keeping falling in the ground!!
LeoYa
Scratcher
3 posts

Why is my sprite falling threw the ground?!?!?!?!?!?

can someone help me???
Because my character is keeping falling in the ground!!
harry_potter202
Scratcher
15 posts

Why is my sprite falling threw the ground?!?!?!?!?!?

Your collision needs to be reworked, not use if touching color with thye backdrop, use real sprits and check for collision with that, You also need movement vars because you have a ramp you will need to change x and y at the same time in order for it to go up correctly. This is the best was I know this fix this.
deck26
Scratcher
1000+ posts

Why is my sprite falling threw the ground?!?!?!?!?!?

LeoYa wrote:

can someone help me to fix my character???
Because my character is keeping falling in the ground!!
Please create your own new topic rather than necroposting.
Mannsha7187
New Scratcher
4 posts

Why is my sprite falling threw the ground?!?!?!?!?!?

HannahPenguin315 wrote:

Make a separate border line sprite for the ground, and then put this in the character sprite:
whenclickedforeveriftouchingGround Border Sprite?thenchangeyby2YoucouldalsoreplaceGround Border Spritewiththecolorofyourground.
P.S. In the Discussion Home Page, scroll to the bottom and click “Change your Signature”.
Troyer_Kem
Scratcher
1000+ posts

Why is my sprite falling threw the ground?!?!?!?!?!?

Radio_Rogue wrote:

tantayo wrote:

It goes down because you have it set as “change y by jump”, and sometimes that sends it below the ground. (ex. If the ball is 3 over the floor and jump is -13, the ball will go 10 into the floor. Does that make sense? I'm working on a solution.


What is
signature=
Signature is the text, picture, link etc. which appears when you post a thing. It appears under your post and there is a grey line between them.
another_one_2
Scratcher
100+ posts

Why is my sprite falling threw the ground?!?!?!?!?!?

Mojang_lover wrote:

Do this

whenclickedforeverifnottouchingGround?thenchangeybyFallspeediftouchingground?thenGoupdefineGoupchangeyby1

It works!
Just remember to set the block
Goup
to run without screen refresh!
That is a good idea but the sprite will not go to the top of the ground any fast even if you use run without screen refresh; I think i have a faster alternative:

definegetgroundPosrun without screen refreshrepeatuntilnottouchingground?changeyby1whenclickedforeverchangeybygravitygetgroundPos

Last edited by another_one_2 (Aug. 9, 2019 18:55:02)

Powered by DjangoBB