Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do i make something get smaller when a variable gets bigger?
- 888superin
-
Scratcher
100+ posts
how do i make something get smaller when a variable gets bigger?
hey, everyone here!
I am making a roll-em-up game on here,and i need help making the map get smaller when the ball gets bigger.
the ball starts at a size of 0, and gets bigger rolling up things along the way.
i want to make everything smaller when the ball gets bigger so it is easier to see the things on screen.
this script doesn't work btw, already tried it.
I am making a roll-em-up game on here,and i need help making the map get smaller when the ball gets bigger.
the ball starts at a size of 0, and gets bigger rolling up things along the way.
i want to make everything smaller when the ball gets bigger so it is easier to see the things on screen.
this script doesn't work btw, already tried it.
when I receive [start v]
forever
switch costume to [size glitcher v]
go to x: (scrollX) y: (scrollY)
set size to (() - ((500) * (katamari size))) %
switch costume to [map1 v]
end
- scratch___user12345
-
Scratcher
1000+ posts
how do i make something get smaller when a variable gets bigger?
when I receive [start v]
forever
switch costume to [size glitcher v]
go to x: (scrollX) y: (scrollY)
set size to ((100) - (katamari size)) %
switch costume to [map1 v]
end
- Cat_Dusty
-
Scratcher
500+ posts
how do i make something get smaller when a variable gets bigger?
How about something like this?
when I receive [start v]
forever
switch costume to [size glitcher v]
go to x: (scrollX) y: (scrollY)
set size to ((100) - (katamari size)) %
switch costume to [map1 v]
end
- 888superin
-
Scratcher
100+ posts
how do i make something get smaller when a variable gets bigger?
How about something like this?when I receive [start v]
forever
switch costume to [size glitcher v]
go to x: (scrollX) y: (scrollY)
set size to ((100) - (katamari size)) %
switch costume to [map1 v]
end
this isn't working out with the game…when I receive [start v]
forever
switch costume to [size glitcher v]
go to x: (scrollX) y: (scrollY)
set size to ((100) - (katamari size)) %
switch costume to [map1 v]
end
Last edited by 888superin (May 15, 2022 01:17:28)
- scratch___user12345
-
Scratcher
1000+ posts
how do i make something get smaller when a variable gets bigger?
How about something like this?lol, we posted the same answer at nearly the same timewhen I receive [start v]
forever
switch costume to [size glitcher v]
go to x: (scrollX) y: (scrollY)
set size to ((100) - (katamari size)) %
switch costume to [map1 v]
end

- 888superin
-
Scratcher
100+ posts
how do i make something get smaller when a variable gets bigger?
katamari damacy
- Cat_Dusty
-
Scratcher
500+ posts
how do i make something get smaller when a variable gets bigger?
How about something like this?lol, we posted the same answer at nearly the same timewhen I receive [start v]
forever
switch costume to [size glitcher v]
go to x: (scrollX) y: (scrollY)
set size to ((100) - (katamari size)) %
switch costume to [map1 v]
end
lol
-break-
888superin, can you share a link to the project? Our solution would work, but some of the numbers would need to be changed. Seeing the project could help us get you the correct numbers
- 888superin
-
Scratcher
100+ posts
how do i make something get smaller when a variable gets bigger?
ok then, veiw it in turbowarp here, the sprite is called map, tell me if you need anything.How about something like this?lol, we posted the same answer at nearly the same timewhen I receive [start v]
forever
switch costume to [size glitcher v]
go to x: (scrollX) y: (scrollY)
set size to ((100) - (katamari size)) %
switch costume to [map1 v]
end
lol
-break-
888superin, can you share a link to the project? Our solution would work, but some of the numbers would need to be changed. Seeing the project could help us get you the correct numbers
- Discussion Forums
- » Help with Scripts
-
» how do i make something get smaller when a variable gets bigger?
