Discuss Scratch

MinRam
Scratcher
22 posts

How to Write the size as a number in the middle of each clone?

I have a game where I'm using ball clones.
clones get bigger in time and bigger they get more points they are worth if you shoot them
I can use
say (round ((size) / (100)))
(that is how I calculate how many points to give per ball).
but
say []
makes a big bubble on the side, and it does not look nice.
I'd like just a small number, in the center of the ball, growing together with the ball and changing accordingly.
Cutie_Pooge
Scratcher
500+ posts

How to Write the size as a number in the middle of each clone?

Can you explain more with a link to the project?

I will not help much around the forums anymore, if you still want my help go to my main account. Still occasionally help.
Age 18
Bit of experience in coding in Scratch, Python, C++ and Rust.
2D Slideshow framework v0.2.0.
Terrible in art and sound.
MinRam
Scratcher
22 posts

How to Write the size as a number in the middle of each clone?

I made a rough sketch of what I'm talking about
https://scratch.mit.edu/projects/410488661
Cutie_Pooge
Scratcher
500+ posts

How to Write the size as a number in the middle of each clone?

You can make a lot of costumes and do this:
switch costume to (join [ball-a] (round((size) / (100)))
I made a quick demo https://scratch.mit.edu/projects/410490994/]

Last edited by Cutie_Pooge (July 9, 2020 04:21:52)


I will not help much around the forums anymore, if you still want my help go to my main account. Still occasionally help.
Age 18
Bit of experience in coding in Scratch, Python, C++ and Rust.
2D Slideshow framework v0.2.0.
Terrible in art and sound.

Powered by DjangoBB