Discuss Scratch

o97doge
Scratcher
500+ posts

Help with tweening.

For some reason, when you press S to go down, then press A to go left, it turns right to go to the left?

https://scratch.mit.edu/projects/878823735/

Last edited by o97doge (March 30, 2024 00:13:44)


Everything below this point is not part of the post above, as everything beyond this point is a signature.
SHIFT+DOWN or addon

The aesthetic community is discovering the forums?!?!?!?!?
I feel by next year we wont have the forums anymore, I'm not joking.
How did you find out about the Discussion Forums?
Try out LibreKitten, my TurboWarp mod.

I found this masterpiece of a post:

Gamer_Logan819 wrote:

(#7)

EDawg2011 wrote:

Gamer_Logan819 wrote:

I think it’s snap!.
This is Scratch, not Snap.
Is that the case though? Is it really? Or is it just a figment of your imagination? What if scratch never existed, and you’re just hallucinating? All of these people you’ve met, they might not be anything more than a figment of your imagination? And now that you know this, you have to ask yourself the question: is scratch real? Are you truly on an online platform named scratch? Or are you dreaming, seeing this so-called “programming for kids platform” in a completely different way from everybody else? How can you fully be sure you’re not hallucinating? How can you be so sure that there is a real thing called scratch?

(>:3)::boolean #000000 // this is my evil kumquat generator, this is where all the evil kumquats come from.
(>:3)
(>:3)
(>:3)

a woam ate the rest of my signature
legendary34678
Scratcher
1000+ posts

Help with tweening.

It's definitely something to do with the turning code that you have. I suggest writing new code yourself that's clearer and easier to understand.

Alternatively, RT_Borg has written code that makes a sprite turn smoothly to a certain direction here: https://scratch.mit.edu/projects/690745166/
You can adapt the code to turn towards the four directions (up, down, left, right) depending on which button is pressed.

Hope this helps, and feel free to ask any questions!

Can you beat my latest game?

Have you heard of the X Y Problem?
Please check out me projects please I'm desperate –> Idle Balls, Candy Grab!, Don't Move Your Mouse!, Rude Robot, Tic Tac Toe, Memory Game, Corn Maze, and Idle Balls PEN EDITION!

Oh, hey! I have 100+ posts now!
Oh, hey! I have 500+ posts now! (8/26/22)
Oh, hey! I have 1000+ posts now! (9/23/22)
(Thanks to @AntonL1kesPotato for helping me figure out how to add a signature!)
o97doge
Scratcher
500+ posts

Help with tweening.

legendary34678 wrote:

(#2)
It's definitely something to do with the turning code that you have. I suggest writing new code yourself that's clearer and easier to understand.

Alternatively, RT_Borg has written code that makes a sprite turn smoothly to a certain direction here: https://scratch.mit.edu/projects/690745166/
You can adapt the code to turn towards the four directions (up, down, left, right) depending on which button is pressed.

Hope this helps, and feel free to ask any questions!
I want it to quickly turn and slow down.

Everything below this point is not part of the post above, as everything beyond this point is a signature.
SHIFT+DOWN or addon

The aesthetic community is discovering the forums?!?!?!?!?
I feel by next year we wont have the forums anymore, I'm not joking.
How did you find out about the Discussion Forums?
Try out LibreKitten, my TurboWarp mod.

I found this masterpiece of a post:

Gamer_Logan819 wrote:

(#7)

EDawg2011 wrote:

Gamer_Logan819 wrote:

I think it’s snap!.
This is Scratch, not Snap.
Is that the case though? Is it really? Or is it just a figment of your imagination? What if scratch never existed, and you’re just hallucinating? All of these people you’ve met, they might not be anything more than a figment of your imagination? And now that you know this, you have to ask yourself the question: is scratch real? Are you truly on an online platform named scratch? Or are you dreaming, seeing this so-called “programming for kids platform” in a completely different way from everybody else? How can you fully be sure you’re not hallucinating? How can you be so sure that there is a real thing called scratch?

(>:3)::boolean #000000 // this is my evil kumquat generator, this is where all the evil kumquats come from.
(>:3)
(>:3)
(>:3)

a woam ate the rest of my signature
--Irrelevant
Scratcher
90 posts

Help with tweening.

Wdym? I pressed W and A and nothing happened?

I'm Irrelevant! (jk)

What I'm good at:
Creating evil kumquats
Creating more evil kumquats
Creating even more evil kumquats because why not?


GIMME YOUR FOLLOW


My profile…








o97doge
Scratcher
500+ posts

Help with tweening.

--Irrelevant wrote:

(#4)
Wdym? I pressed W and A and nothing happened?
Did you start the project?

Everything below this point is not part of the post above, as everything beyond this point is a signature.
SHIFT+DOWN or addon

The aesthetic community is discovering the forums?!?!?!?!?
I feel by next year we wont have the forums anymore, I'm not joking.
How did you find out about the Discussion Forums?
Try out LibreKitten, my TurboWarp mod.

I found this masterpiece of a post:

Gamer_Logan819 wrote:

(#7)

EDawg2011 wrote:

Gamer_Logan819 wrote:

I think it’s snap!.
This is Scratch, not Snap.
Is that the case though? Is it really? Or is it just a figment of your imagination? What if scratch never existed, and you’re just hallucinating? All of these people you’ve met, they might not be anything more than a figment of your imagination? And now that you know this, you have to ask yourself the question: is scratch real? Are you truly on an online platform named scratch? Or are you dreaming, seeing this so-called “programming for kids platform” in a completely different way from everybody else? How can you fully be sure you’re not hallucinating? How can you be so sure that there is a real thing called scratch?

(>:3)::boolean #000000 // this is my evil kumquat generator, this is where all the evil kumquats come from.
(>:3)
(>:3)
(>:3)

a woam ate the rest of my signature
o97doge
Scratcher
500+ posts

Help with tweening.

[deleted]

Last edited by o97doge (March 30, 2024 01:08:16)


Everything below this point is not part of the post above, as everything beyond this point is a signature.
SHIFT+DOWN or addon

The aesthetic community is discovering the forums?!?!?!?!?
I feel by next year we wont have the forums anymore, I'm not joking.
How did you find out about the Discussion Forums?
Try out LibreKitten, my TurboWarp mod.

I found this masterpiece of a post:

Gamer_Logan819 wrote:

(#7)

EDawg2011 wrote:

Gamer_Logan819 wrote:

I think it’s snap!.
This is Scratch, not Snap.
Is that the case though? Is it really? Or is it just a figment of your imagination? What if scratch never existed, and you’re just hallucinating? All of these people you’ve met, they might not be anything more than a figment of your imagination? And now that you know this, you have to ask yourself the question: is scratch real? Are you truly on an online platform named scratch? Or are you dreaming, seeing this so-called “programming for kids platform” in a completely different way from everybody else? How can you fully be sure you’re not hallucinating? How can you be so sure that there is a real thing called scratch?

(>:3)::boolean #000000 // this is my evil kumquat generator, this is where all the evil kumquats come from.
(>:3)
(>:3)
(>:3)

a woam ate the rest of my signature
legendary34678
Scratcher
1000+ posts

Help with tweening.

o97doge wrote:

I want it to quickly turn and slow down.

Have you tried the code I linked? Let me know how it goes.

Can you beat my latest game?

Have you heard of the X Y Problem?
Please check out me projects please I'm desperate –> Idle Balls, Candy Grab!, Don't Move Your Mouse!, Rude Robot, Tic Tac Toe, Memory Game, Corn Maze, and Idle Balls PEN EDITION!

Oh, hey! I have 100+ posts now!
Oh, hey! I have 500+ posts now! (8/26/22)
Oh, hey! I have 1000+ posts now! (9/23/22)
(Thanks to @AntonL1kesPotato for helping me figure out how to add a signature!)
o97doge
Scratcher
500+ posts

Help with tweening.

legendary34678 wrote:

(#7)

o97doge wrote:

I want it to quickly turn and slow down.

Have you tried the code I linked? Let me know how it goes.
I couldn't figure out how to adapt it to quickly turn and slow down.

Last edited by o97doge (March 30, 2024 06:09:21)


Everything below this point is not part of the post above, as everything beyond this point is a signature.
SHIFT+DOWN or addon

The aesthetic community is discovering the forums?!?!?!?!?
I feel by next year we wont have the forums anymore, I'm not joking.
How did you find out about the Discussion Forums?
Try out LibreKitten, my TurboWarp mod.

I found this masterpiece of a post:

Gamer_Logan819 wrote:

(#7)

EDawg2011 wrote:

Gamer_Logan819 wrote:

I think it’s snap!.
This is Scratch, not Snap.
Is that the case though? Is it really? Or is it just a figment of your imagination? What if scratch never existed, and you’re just hallucinating? All of these people you’ve met, they might not be anything more than a figment of your imagination? And now that you know this, you have to ask yourself the question: is scratch real? Are you truly on an online platform named scratch? Or are you dreaming, seeing this so-called “programming for kids platform” in a completely different way from everybody else? How can you fully be sure you’re not hallucinating? How can you be so sure that there is a real thing called scratch?

(>:3)::boolean #000000 // this is my evil kumquat generator, this is where all the evil kumquats come from.
(>:3)
(>:3)
(>:3)

a woam ate the rest of my signature
Norse7
Scratcher
67 posts

Help with tweening.

I think you could just use your code and make it also tween negative numbers.

“It’s not a bug; it’s an undocumented feature.” ― Anonymous

when green flag clicked
forever
change [ awesomeness] by (1)
end

Powered by DjangoBB