Skip to content

Repository files navigation

Bad Apple but in Scratch blocks

Scratch is a high-level, block-based visual programming language. This project displays the Bad Apple video not with scratch language but in the scratch code editor.

See on Youtube

Instructions

This project cannot be run directly with Scratch, but with TurboWarp which is an optimized version.
https://turbowarp.org/1205532741/editor

Maximise the code editor with the button above the scene and zoom out the view as far as possible. Press space to start.

For better rendering, switch the editor to dark mode and set the block color to black in the addon settings.

Functioning

When a scratch block is running it appears highlighted, this project uses this phenomenon to display a video on a row of blocks that constitute the pixels. A scratch script read the video frames stored in a list and take care of calling and deactivating each pixel block.

The converter.py script takes the original video, extracts the pixels to be displayed, and stores them in a file that can be imported as a list into scratch.

The edit scratch json.js script allow to edit the sb3 scratch save file to place all the pixel blocs.

About

Bad Apple, but in the Scratch block editor!

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages