Discuss Scratch

Umhead22
Scratcher
100+ posts

Distance of (center v)

(distance to [center v])
The block says itself what it does, typicaly, it's says distance of center of the stage (0, 0)
Creator-H
Scratcher
100+ posts

Distance of (center v)

Umhead22 wrote:

(distance to [center v])
The block says itself what it does, typicaly, it's says distance of center of the stage (0, 0)
no support. very easy workaround:
put an invisible sprite in the middle of the stage
(distance to [the sprite v])
jmb1293634
Scratcher
100+ posts

Distance of (center v)

workaround:
([sqrt v] of ((((x position) - (0)) * ((x position) - (0))) + (((y position) - (0)) * ((y position) - (0)))))
AvidOsirianGuy
Scratcher
100+ posts

Distance of (center v)

Ok, but I don't know how this would be useful.

Powered by DjangoBB