Discuss Scratch

andyman11
Scratcher
100+ posts

How does scratch work?

I've been trying to replicate scratch in scratch, but it has failed repeatedly, could someone explain how scratch works in order to make it easier for me to make the project.

Sincerely,
andyman11.

Siggy, Piggy! Viva la Quixel-loution!
Check out my shop
A message from the Official Scratch Kumquat Association:
This signature was not eaten by an evil kumquat
shhhhh




Why are you still here???
There's no earthly way of knowing… Exactly where you're scrolling…














































Stop it, get some help.




















































Dude, stop.







































Congrats!, you just wasted your time!!!


Maximouse
Scratcher
1000+ posts

How does scratch work?

This is a very broad question. Are you interested in recreating the UI? Or do you want to know how Scratch runs projects?

You are reading Maximouse's signature. Learn more about signatures
Click here to make pixel art.

Harakou wrote:

Yeah, this seems to be a request for custom reporter blocks - which has been suggested in the linked topic and a number of other times. I know I would personally love to see them, myself - I'm not sure what technical or design concerns there to them, if any.
andyman11
Scratcher
100+ posts

How does scratch work?

Maximouse wrote:

This is a very broad question. Are you interested in recreating the UI? Or do you want to know how Scratch runs projects?
I wonder how you can surround blocks using c shapes and snap blocks together, and I also wonder how scratch parses the code.

Siggy, Piggy! Viva la Quixel-loution!
Check out my shop
A message from the Official Scratch Kumquat Association:
This signature was not eaten by an evil kumquat
shhhhh




Why are you still here???
There's no earthly way of knowing… Exactly where you're scrolling…














































Stop it, get some help.




















































Dude, stop.







































Congrats!, you just wasted your time!!!


awesome-llama
Scratcher
1000+ posts

How does scratch work?

Griffpatch has already made a Scratch Emulator, which may help you a bit with how it can be implemented in Scratch. Maybe take a look inside it and see how it runs, although I think it somewhat broke (with text rendering) from Scratch 3.0.

Last edited by awesome-llama (April 7, 2020 08:06:10)





↑↑ Click any of the images for an awesome project! ↑↑
◃◁ Click this for my YT channel! ▷▹




My 500th post: https://scratch.mit.edu/discuss/topic/189237/?page=1#post-1861516
My 1000th post: https://scratch.mit.edu/discuss/topic/216809/?page=1#post-2193087
My 1500th post: https://scratch.mit.edu/discuss/topic/234381/?page=1#post-2388018
YmFja3VwLXNpZ2d5LWlk Google this to see my posts.
Maximouse
Scratcher
1000+ posts

How does scratch work?

andyman11 wrote:

Maximouse wrote:

This is a very broad question. Are you interested in recreating the UI? Or do you want to know how Scratch runs projects?
I wonder how you can surround blocks using c shapes and snap blocks together, and I also wonder how scratch parses the code.
OK, snappings blocks together works like this: when you release the mouse while dragging a block, if the block you are dragging is close enough to the edge of another block, they snap together. It is useful to have a list of “scripts”, i.e. stacks of blocks so you can simply append the block to one of the scripts. Unfortunately lists of lists are quite hard to implement in Scratch.

You are reading Maximouse's signature. Learn more about signatures
Click here to make pixel art.

Harakou wrote:

Yeah, this seems to be a request for custom reporter blocks - which has been suggested in the linked topic and a number of other times. I know I would personally love to see them, myself - I'm not sure what technical or design concerns there to them, if any.
angoveos
New to Scratch
6 posts

How does scratch work?

sb3 seems to be a zip
with a json with code in it showing info
andyman11
Scratcher
100+ posts

How does scratch work?

awesome-llama wrote:

Griffpatch has already made a Scratch Emulator, which may help you a bit with how it can be implemented in Scratch. Maybe take a look inside it and see how it runs, although I think it somewhat broke (with text rendering) from Scratch 3.0.
I've tried that. I have no idea how it works.

Siggy, Piggy! Viva la Quixel-loution!
Check out my shop
A message from the Official Scratch Kumquat Association:
This signature was not eaten by an evil kumquat
shhhhh




Why are you still here???
There's no earthly way of knowing… Exactly where you're scrolling…














































Stop it, get some help.




















































Dude, stop.







































Congrats!, you just wasted your time!!!


Powered by DjangoBB

Standard | Mobile