-------------------------Pattern Generator------------------------ This is a pattern generator with a built-in library that makes it really easy to remix and create own patterns. (IF YOUR CUSTOM PATTERN DOES NOT SHOW UP EXACTLY AFTER YOU PRESSED THE BUTTON, DO NOT THINK IT IS BROKEN. THE PROGRAM JUST NEEDS TO LOOK TROUGH EVERY PATTERN IN ORDER TO FIND THE CORRECT ONE. THE MORE PATTERNS THE LONGER IT TAKES.) ---------------How to create your own pattern:---------------- 1. Go into the sprite called "Pattern". 2. Make a new costume 3. Draw your pattern in the colours: Color: 0 Saturation: 100 and Brightness:: 100. This should give a bright red color. 4. VERY IMPORTANT!!! MAKE SURE TO NAME THE COSTUME THE NUMBER OF THE COSTUME (Costume number 5 for example should be named 5 and so on). 5. Go into the sprite named "Buttons (Library)" and add a new costume. 6. Draw your button in the same size as the circle i have used in every button. 7. VERY IMPORTANT!!! MAKE SURE TO NAME THE COSTUME THE NUMBER OF THE COSTUME. (THE NAME OF THE BUTTON COSTUME SHOULD HAVE THE SAME NAME AS THE PATTERN COSTUME). 8. Press space or open the library through the phone controls and check if your button is there. Click on the button and the screen should display your pattern if you have done it correctly. ----------------------------Controls---------------------------------- Space = Library E = Run Pattern Q = Reset Pattern S = Hide UI D = Expand A = Shrink -------------------------Phone Controls---------------------------- How to open phone controls: Click on the button with a phone on it. It should open a bunch of buttons at the bottom of the screen.
Thanks to @SKJ8 for the original code for the pattern (which is heavily modified by me) and for the idea. Here is the link to @SKJ8 's project: https://scratch.mit.edu/projects/447531886/