Discuss Scratch

cubby208
Scratcher
99 posts

If on <object> bounce

I would like to have a custom block that has the same effect as if on edge bounce, however it can do this for other sprites.

No i understand that that code only works that way because the edges are either paralell or perpendicular.
The objects i want to be bounced off of are perfect squares so the edges are paralell to one of the edges.
Could someone code this please?
DotDash
Scratcher
1000+ posts

If on <object> bounce

cubby208 wrote:

I would like to have a custom block that has the same effect as if on edge bounce, however it can do this for other sprites.

No i understand that that code only works that way because the edges are either paralell or perpendicular.
The objects i want to be bounced off of are perfect squares so the edges are paralell to one of the edges.
Could someone code this please?
This would belong in Help With Scripts.

My browser / operating system: MacOS Macintosh X 10.8.5, Chrome 29.0.1547.76, Flash 11.8 (release 800)
cheddargirl
Scratch Team
1000+ posts

If on <object> bounce

cubby208 wrote:

I would like to have a custom block that has the same effect as if on edge bounce, however it can do this for other sprites.

No i understand that that code only works that way because the edges are either paralell or perpendicular.
The objects i want to be bounced off of are perfect squares so the edges are paralell to one of the edges.
Could someone code this please?
Hi cubby, I'm confused. Is this a request for a modification of Scratch 1.4 to add this block, or a request for scripting help?

Sadly, my forum signature was eaten by an evil kumquat.
joshuaho
Scratcher
1000+ posts

If on <object> bounce

DotDash wrote:

cubby208 wrote:

I would like to have a custom block that has the same effect as if on edge bounce, however it can do this for other sprites.

No i understand that that code only works that way because the edges are either paralell or perpendicular.
The objects i want to be bounced off of are perfect squares so the edges are paralell to one of the edges.
Could someone code this please?
This would belong in Help With Scripts.
It looks like that it is a request for a custom block. That would go to the Requests forum.

College student studying Communication and Fire Technology, communication lab tutor, guitar and piano player, perfectionist, and just some guy who regularly eats and trains physically to stay healthy.
cubby208
Scratcher
99 posts

If on <object> bounce

Harakou
Scratcher
1000+ posts

If on <object> bounce

Closed by owner request.

Powered by DjangoBB