What are these mysterious runes in the background that were messily drawn using a laptop touchpad? Why not try recreating one of the three symbols by tracing them with your mouse(wand)? If you do it right, uh... magic will happen! If you don't, then try again! It's not like failing these magic spells will curse your family or anything, although you may be cursing me because some of these spells are a bit tricky and take a lot of patience to get right.
TROUBLESHOOTING FIRST, NOTES AND CREDITS LATER ------------------------------------------------------------------------- If you can't manage to successfully perform any spells, make sure you are: - Holding the mouse down the whole time you trace the symbol (I assume this program works for touch screen? You know, just keep your finger on the phone or whatever idk) - Following the provided directional arrows to draw the right direction (The spells only work one-way) - Accepting the fact that the center symbol is the most difficult (Tip: try drawing an "e", that sometimes helps) - Being patient (The image recognition system is surely flawed, so please keep trying! I guess it adds difficulty :) ------------------------------------------------------------------------- Sorry that nothing even remotely magical happens after performing a spell, aside from the inclusion of cheesy sound effects (Nothing personal, Scratch team). Between the time I had left to create this project before the monthly Scratch studio changed and the aforementioned laptop touchpad, I didn't really have the ability to make magic animations, like a tree growing or lightning striking, even though I really wanted to. I guess that makes this a showcase of the image recognition system I designed (See details below), at least until I add more features (See other details below). ------------------------------------------------------------------------- Notes: I guess if you're interested in knowing how the image recognition system works, I can tell you that it isn't AI. Honestly, that probably would have been easier and more accurate, but it's too late now! Anyway, the image recognition works by storing your drawing as a list of points in a sequence, that are compared to the points on the "ideal" drawing for each spell to see which one you are trying to cast. In order to compare properly while still being able to draw anywhere and anyway you want, your drawing has to be resized and moved to have the best chance of resembling the "ideal" drawing, and it generally will, as long as you draw it somewhat correctly. ------------------------------------------------------------------------- Ideas: (Suggestions welcome!) - Have wand follow cursor - Actually use AI for image recognition - Improve drawings and add animations - More spells - Use this as the primary mechanic for a full game? Perhaps you fight people and the accuracy of the spell you draw relates to damage dealt? ------------------------------------------------------------------------- Log: - Day 1: (1/25/2022) Created project, developed drawing system and image storage system, created 3 symbol data sets - Day 2: (1/26/2022) Began developing image recognition system, completed recognition process for the lightning-bolt symbol - Day 3: (1/27/2022) Completed recognition process for all symbols, drew background and runes, posted project! - Day 4: (1/28/2022) Fixed some arrow problems in the background that I'm like 85% sure weren't there before but whatever ------------------------------------------------------------------------- Credits: - Code and Art by me - Sound effects by Scratch - Inspired by Halloween Cat Google Doodle and Harry Potter Land at Universal Studios Florida