Bitwise Operator API V21.1 by The_Ender Feedback is appreciated! ◉▬▬▬▬◉▬▬▬▬▬ↀ▬▬▬▬▬◉▬▬▬▬◉ How to use the project ▰▰► Type a number from 1-9. Then the ask box will give you further instructions. Any number represented with a "0b" prefix is in base 2. (i.e: 0b1011 = (1011)₂) Don't actually type "0b" if it asks you a binary number! ◉▬▬▬▬◉▬▬▬▬▬ↀ▬▬▬▬▬◉▬▬▬▬◉ How to use the sprite in your own projects ▰▰► Any variable that starts with "Bitwise |" can be used outside of the sprite. Change Input 1 and Input 2 and broadcast and wait a "Bitwise |" message. See the recieved broadcasts within the sptrite to see what input does what. Custom blocks with the crossroads arrow thing emoji change the "Last Conversion" var while the rest update the "Output" var.
"Can I use this in my project?" ▰▰► Yes, you can even modify it! But please give credit in the notes and credits. ◉▬▬▬▬◉▬▬▬▬▬ↀ▬▬▬▬▬◉▬▬▬▬◉ Remixing ▰▰► If you are going to remix my projects, please change at least SOMETHING, otherwise you are breaking the Scratch rules! ◉▬▬▬▬◉▬▬▬▬▬ↀ▬▬▬▬▬◉▬▬▬▬◉ "Why use this?" ▰▰► Really helps when you have to manipulate individual bits. ◉▬▬▬▬◉▬▬▬▬▬ↀ▬▬▬▬▬◉▬▬▬▬◉ "Why use this in SCRATCH???" ▰▰► ¯\_(ツ)_/¯ ◉▬▬▬▬◉▬▬▬▬▬ↀ▬▬▬▬▬◉▬▬▬▬◉ Credits ▰▰► ◘ Programing and art by me. ◘ Godot Engine for having me learn about bitwise operations in the first place. ◘ ElectronicsTutorials for the formulas to convert between decimal and binary numbers. ◉▬▬▬▬◉▬▬▬▬▬ↀ▬▬▬▬▬◉▬▬▬▬◉ Changelog ▰▰► ‣ 21.1 18/01/2021 ⁝ Project Released ◉▬▬▬▬◉▬▬▬▬▬ↀ▬▬▬▬▬◉▬▬▬▬◉ Tags ▰▰► #Bitwise #Technical #Demonstration #API Lil' fun fact for you: Writing binary numbers with "0b" is how most programing languages do it. They also use "0x" for hexadecimal numbers: 109 = 0b1101101 = 0x6D