Discuss Scratch

Kingson24
New to Scratch
1 post

Scratch Project in ReactJS

I'd like to create a scratch game and integrate it into a React app. Is this possible? Thanks
Andreto
Scratcher
100+ posts

Scratch Project in ReactJS

Scratch projects can be embedded in iframes. Click the "Copy Link button on the project page to get an iframe tag with the correct source URL. This would work great if your react app is a website.

leopard.js is a project that converts scratch projects into JavaScript and HTML that you can use in your react app.


Last edited by Andreto (Aug. 3, 2022 10:17:34)

hacktronics
Scratcher
100+ posts

Scratch Project in ReactJS

The scratch itself is react based, take a look at the player page in scratch-gui, if you need any customization, also you can embedded it as an iframe also.

CodeSkool: Beyond Scratch with ML, AI, Python, HTML5, Arduino, Games…
happydog890
Scratcher
1 post

Scratch Project in ReactJS

I think that scratch uses mui but that doesn't matter. yes you can get the tree of elements using the react Dev tools extension and then you can get the tree of elements and keep scrolling down until the blue is only on the screen and then I don't know

Last edited by happydog890 (April 15, 2024 02:40:00)

caftingdead261
Scratcher
96 posts

Scratch Project in ReactJS

happydog890 wrote:

I think that scratch uses mui but that doesn't matter. yes you can get the tree of elements using the react Dev tools extension and then you can get the tree of elements and keep scrolling down until the blue is only on the screen and then I don't know
please don't necro post

I make random stuff and experiment with cloud variables.
I love Scratch mods and projects that use scratch in unique ways.
(semi-active) (only active on forms)
when F5 is clicked :: hat events
unlock a whole new perspective

Powered by DjangoBB