Discuss Scratch

fdreerf
Scratcher
1000+ posts

Does if on edge, bounce have a workaround?

4096bits wrote:

god286 wrote:

Okay…
turn cw (<touching [edge v] ?> * (180)) degrees

I guess you could say this is smart?
Not so sure if it's good, though
I don't think so, then it would always do “true” * 180 or “false” * 180, which we definitely know are NOT possible.
True and false are automatically converted to 1 and 0.
4096bits
Scratcher
1000+ posts

Does if on edge, bounce have a workaround?

fdreerf wrote:

4096bits wrote:

god286 wrote:

Okay…
turn cw (<touching [edge v] ?> * (180)) degrees

I guess you could say this is smart?
Not so sure if it's good, though
I don't think so, then it would always do “true” * 180 or “false” * 180, which we definitely know are NOT possible.
True and false are automatically converted to 1 and 0.
It still won't work - the sprite will only go back and forth, or it glitches out.
fdreerf
Scratcher
1000+ posts

Does if on edge, bounce have a workaround?

Well, I can't find a math equation on how the Law of Reflection works, so someone will just have to recreate this:

don't worry about the refraction it's unimportant
Wyan100
Scratcher
1000+ posts

Does if on edge, bounce have a workaround?

GUYS I THINK I FIGURED IT OUT!

LINK TO THE PROJECT HERE!

Last edited by Wyan100 (Aug. 22, 2020 15:59:06)

Wyan100
Scratcher
1000+ posts

Does if on edge, bounce have a workaround?

Wyan100 wrote:

GUYS I THINK I FIGURED IT OUT!

LINK TO THE PROJECT HERE!

Wow I soon as I post this literally everyone abandons the topic
geometric_ghast
Scratcher
1000+ posts

Does if on edge, bounce have a workaround?

Wyan100 wrote:

GUYS I THINK I FIGURED IT OUT!

LINK TO THE PROJECT HERE!
Wow! That's seems like a good workaround
Goodthingsaregood66
Scratcher
100+ posts

Does if on edge, bounce have a workaround?

It really does!
Goodthingsaregood66
Scratcher
100+ posts

Does if on edge, bounce have a workaround?

Since this topic is still open somehow, what is the conclusion?
windows11microsoft
Scratcher
100+ posts

Does if on edge, bounce have a workaround?

no but if you can cheat using of screenshot of snap snap logo with old scratch logo you done
try to find a way to make it working btw
(item ( (pick random (1) to (4))) of [list v] :: list)
list containts code org snap scratch tynker
windows11microsoft
Scratcher
100+ posts

Does if on edge, bounce have a workaround?

god 286 it worked

Powered by DjangoBB