Discuss Scratch

CyanIsCoding
Scratcher
10 posts

How do I make a roblox rebounder entity in scratch bc idk T - T

Do I just have to

when green flag clicked
forever
if <(spawn?) = [yes]> then
repeat (# of rebounds)
wait ((how far in the section are you?) - (what number do I put here)) secs
show
glide (speed) secs to x: (240) y: (0)
glide (speed) secs to x: (-240) y: (0)
hide
end
end
end

And then program the animation, or is the code wrong?
CyanIsCoding
Scratcher
10 posts

How do I make a roblox rebounder entity in scratch bc idk T - T

by the way:

define encouragement (what you're gonna say)
you
can
really
tell
me
anything,
like (what you're gonna say)

Last edited by CyanIsCoding (Dec. 3, 2023 19:29:32)

starlightsparker
Scratcher
1000+ posts

How do I make a roblox rebounder entity in scratch bc idk T - T

Reported to be moved to help with scripts

✮˚. ᵎᵎ ?彡⋆。˚ starlight !! * ੈ✩‧₊˚ ✧˖° female !! ⋆。°✩ they.them !!‧˚₊ muslim !!✶ .ᐟ
︶꒦꒷order at star's cafe! served w/ love꒷꒦︶
star's cafe is a store to order banners, pfps, and more!
(rounded) 1000th post | (actual) 1000th post | first post
~ pakistani muslim ~ ~ born in arabia ~ palestine supporter! ~
stop the Islam hate!useful custom blockslatest projectcomment herePython Learning History
Scratch inspired me to want to become a programmer when i grow up. I plan on learning python :>
spectre_specs
Scratch Team
1000+ posts

How do I make a roblox rebounder entity in scratch bc idk T - T

Moved to Help With Scripts

Mod Squad
RethinkingVoxels
Scratcher
1000+ posts

How do I make a roblox rebounder entity in scratch bc idk T - T

you need to give context. what if somebody didn't play roblox?
CyanIsCoding
Scratcher
10 posts

How do I make a roblox rebounder entity in scratch bc idk T - T

ok, so, im talking about entities from games like rooms: low detailed (search it up)
CyanIsCoding
Scratcher
10 posts

How do I make a roblox rebounder entity in scratch bc idk T - T

also how do i make custom blocks here in scratch forums, like

when green flag clicked

but custom hat block, or

stop [all]

but custom cap block? And what about

custom stack blocks

but different colors?

Last edited by CyanIsCoding (Jan. 13, 2024 14:44:54)

DogeMeowy
Scratcher
100+ posts

How do I make a roblox rebounder entity in scratch bc idk T - T

CyanIsCoding wrote:

also how do i make custom blocks here in scratch forums, like

when green flag clicked

but custom hat block, or

stop [all]

but custom cap block? And what about

custom stack blocks

but different colors?
define custom block



DogeMeowy

| Am doge |

much happ scratchblock testing topic 9 is here :: pen hat
CyanIsCoding
Scratcher
10 posts

How do I make a roblox rebounder entity in scratch bc idk T - T

I MENT WITHOUT
define CUSTOM BLOCKS
CUSTOM BLOCKS
{text removed by moderator. Please be respectful when posting.}

Last edited by cheddargirl (Feb. 18, 2024 22:02:25)

malicondii
Scratcher
100+ posts

How do I make a roblox rebounder entity in scratch bc idk T - T

CyanIsCoding wrote:

I MENT WITHOUT
define CUSTOM BLOCKS
CUSTOM BLOCKS
{text removed by moderator. Please be respectful when posting.}
do you mean
custom (block :: stack operators) :: events 
and
also custom :: grey cap 
also
not original :: pen hat

Last edited by cheddargirl (Feb. 18, 2024 22:02:37)

CyanIsCoding
Scratcher
10 posts

How do I make a roblox rebounder entity in scratch bc idk T - T

(custom block part) yes
(the trying to keep it kid firendly part) oh ;(,,,,,,,

Last edited by CyanIsCoding (Feb. 18, 2024 23:47:21)

CyanIsCoding
Scratcher
10 posts

How do I make a roblox rebounder entity in scratch bc idk T - T

i learned how to :: pen hat
make custom blocks in scratch fourms :: pen block
thx (malicondii :: stack grey) for letting me just :: pen block
*clicks quote* :: grey block
*L E A R N S the ways of the e v e r y t h i n g abt scratchblocks in scratch fourms* :: pen block
MrKingofScratch
Scratcher
100+ posts

How do I make a roblox rebounder entity in scratch bc idk T - T

IDK what you're doing with the wait block (I don't play roblox).

I would put a move to x y block before the show block to make sure that the entity spawns in the right room.

This might be a little complex, but based on the footage I saw, Rebound has a different path in each room, so you could use lists to make rebound go to the right spots.

for example

when green flag clicked//this code will reset the spawn and destination coordinates per room in case you want to change them lator
delete (all v) of [reboundSpawnX v]//clear all of the lists
delete (all v) of [reboundSpawnYv]
delete (all v) of [reboundDestinationX v]
delete (all v) of [reboundDestinationY v]
add [100] to [reboundSpawnX v]//entity will spawn at x 100 y 100 and go to x 9 y 9 for room 1 *IN THE REAL GAME, these would be door locations
add [100] to [reboundSpawnY v]
add [9] to [reboundDestinationX v]
add [9] to [reboundDestinationY v]
add [4] to [reboundSpawnX v]//entity will spawn at x 4 y 45 and go to x 6 y 8 for room 2 * IN THE REAL GAME, these would be door locations
add [45] to [reboundSpawnY v]
add [6] to [reboundDestinationX v]
add [8] to [reboundDestinationY v]

when green flag clicked
hide
forever
wait until <(spawn?) = [yes]>
repeat (# of rebounds)
go to x: (item (room) of [reboundSpawnX v] :: list) y: (item (room) of [reboundSpawnY v] :: list)//use the list items to spawn at the right location
wait ((how far in the section are you?) - (what number do I put here)) secs
show
glide (speed) secs to x: (item (room) of [reboundDestinationX v] :: list) y: (item (room) of [reboundDestinationY v] :: list)//use list to go to right destination
hide
end
end
In the real game you would have different values in the lists that would correspond to the door locations in each room

Last edited by MrKingofScratch (April 10, 2024 22:54:52)


Last edited by kaj (Tomorrow 00:00:00)
100th post!
CyanIsCoding
Scratcher
10 posts

How do I make a roblox rebounder entity in scratch bc idk T - T

O_o
Loading…
Loading…
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR OVERLOAD
Killing System…
*dead of confusion*
MrKingofScratch
Scratcher
100+ posts

How do I make a roblox rebounder entity in scratch bc idk T - T

XDD ig just use what you have then, it should work though it would be annoying to code for every single room.

Last edited by MrKingofScratch (April 10, 2024 22:54:26)


Last edited by kaj (Tomorrow 00:00:00)
100th post!
CyanIsCoding
Scratcher
10 posts

How do I make a roblox rebounder entity in scratch bc idk T - T

also i think i got it

is it

when green flag clicked
go to x: (-240) y: (0)
hide
forever
if <(spawn?) = [yes]> then
wait (((R-) - (1))/(rps)) secs
repeat ((# of rebounds) - (1))
show
glide (rps) secs to x: (240) y: (0)
glide (rps) secs to x: (-240) y: (0)
hide
wait (((R-) - (1))/((rps)*(2))) secs
end
set [spawn? v] to [no]
end
end

bc in my (unreleased) game, The Rewritten Rooms, the door is always on the right

Last edited by CyanIsCoding (April 10, 2024 23:41:59)

CyanIsCoding
Scratcher
10 posts

How do I make a roblox rebounder entity in scratch bc idk T - T

MrKingofScratch wrote:

XDD ig just use what you have then, it should work though it would be annoying to code for every single room.
i made a new one, and i just use it for every room…

Last edited by CyanIsCoding (April 10, 2024 23:13:35)

Powered by DjangoBB