Discuss Scratch

Pikachu_Friends
Scratcher
4 posts

Making the beyblade bounce back when touching yellow



To make it short- I need help to make the beyblade hit the yellow wall and bounce back into the stadium.

and can someone help me with the beyblade trail.It is going all wrong( it is not turning towards the beyblade when the beyblade changes direction.)

Here is the link: https://scratch.mit.edu/projects/612916295/editor/

Thanks

Last edited by Pikachu_Friends (Dec. 8, 2021 03:44:41)

SquakyDude
Scratcher
100+ posts

Making the beyblade bounce back when touching yellow

Hi! So you can maybe create costumes for the beyblade
forever
wait (0.2) secs
next costume
endwhen green flag clicked

So create many costumes so that it makes a turning animation.
Then, for the trail:

forever
create clone of [ myself]
endwhen green flag clicked


when I start as a clone
repeat (50)
change [ ghost] effect by (2)
change size by (2)

end


And finally for the bounce:


when green flag clicked
forever
if <touching color [yellow] ?> then
turn ccw (90) degrees
end
end


-@SquakyDude (:
SquakyDude
Scratcher
100+ posts

Making the beyblade bounce back when touching yellow

SquakyDude wrote:

Hi! So you can maybe create costumes for the beyblade
forever
wait (0.2) secs
next costume
endwhen green flag clicked

So create many costumes so that it makes a turning animation.
Then, for the trail:

forever
create clone of [ myself]
endwhen green flag clicked


when I start as a clone
repeat (50)
change [ ghost] effect by (2)
change size by (2)

end
delete this clone


And finally for the bounce:


when green flag clicked
forever
if <touching color [yellow] ?> then
turn ccw (90) degrees
end
end

Ignore the red blocks

Last edited by SquakyDude (Dec. 7, 2021 18:04:40)



-@SquakyDude (:
moutamou
Scratcher
80 posts

Making the beyblade bounce back when touching yellow

you can do this code for the movements
(removed by moderator - please don't post links to file sharing services)
_
in you trails code you do clones infinitely, but the limits of clones is 300 clones, so when the clone fnish to faid out, you have to
delete this clone

Last edited by Paddle2See (Dec. 8, 2021 10:39:53)

moutamou
Scratcher
80 posts

Making the beyblade bounce back when touching yellow

SquakyDude wrote:

Hi! So you can maybe create costumes for the beyblade
forever
wait (0.2) secs
next costume
endwhen green flag clicked

So create many costumes so that it makes a turning animation.
Then, for the trail:

forever
create clone of [ myself]
endwhen green flag clicked


when I start as a clone
repeat (50)
change [ ghost] effect by (2)
change size by (2)

end


And finally for the bounce:


when green flag clicked
forever
if <touching color [yellow] ?> then
turn ccw (90) degrees
end
end
it wont work
SquakyDude
Scratcher
100+ posts

Making the beyblade bounce back when touching yellow

moutamou wrote:

SquakyDude wrote:

-snip
it wont work
Why?


-@SquakyDude (:
Galaxy-Girl-2012
Scratcher
1 post

Making the beyblade bounce back when touching yellow

SquakyDude wrote:

moutamou wrote:

SquakyDude wrote:

-snip
it wont work
Why?
Yeah really why it should work

- Galaxy-Girl-2012
Love The Galaxy, Blink and I love Blackpink!
17 Years, PFP Maker, Banner Maker, And More!
Business - Jennifer's Shop (Scratch)
Follow Me
Order in My Shop
Check Out My Projects
SquakyDude
Scratcher
100+ posts

Making the beyblade bounce back when touching yellow

Galaxy-Girl-2012 wrote:

SquakyDude wrote:

moutamou wrote:

SquakyDude wrote:

-snip
it wont work
Why?
Yeah really why it should work
Why???


-@SquakyDude (:
moutamou
Scratcher
80 posts

Making the beyblade bounce back when touching yellow

it will maybe work but its a bad way to do it
Pikachu_Friends
Scratcher
4 posts

Making the beyblade bounce back when touching yellow

Thanks everyone

Powered by DjangoBB