PLEASE READ FULL INSTRUCTIONS AND NOTES AND CREDITS!!! The fights may be a bit boring or broken until this update is finished, but that is why the legacy AI is still public. LEGACY: https://scratch.mit.edu/projects/978812065/ Welcome to this Combat Scripts program. In this program, apples are trying to attack you. Use c to switch weapons. Use WASD to move. Click to attack.
Main difference from the legacy version: Switched from using @griffpatch inspired boids to a more basic list of steering behaviors. Update Log: 10/7/2024 - It's been a while since I've been on Scratch, and I've changed it so fireballs are deleted when they hit the edge. (All projectiles will soon have the ability to go offscreen) 3/31/2024 - Fixed the bug where crystals were not spawning near the enemy you killed. 3/31/2024 - I am going to be updating less frequently on this project for now as I am almost ready to release a demo for my upcoming RPG, Scratchnapped. 3/23/2024 - Began massive update, with changing the apples to shoot apple seeds, and adding a ghost enemy. 3/23/2024 - Fixed the bug where Scratch Cat's 11th walk cycle frame was lower than the others, causing a glitchy animation. 3/22/2024 - Added a basic scrolling background. Also, enemies can go out of render distance. Scratch Cat will always be at (0, 0). 3/13/2024 - Fixed up the edge bouncing code to be more convincing. 3/12/2024 - Added the fire wand. 3/12/2024 - Added Particles to these scripts. Also added functionality where the Player sprite will change direction if the sword or bow is behind the back and cleaned up some scripts to only run when the player is alive. (Done when Old AI was in use) Other Info: I will let people use these scripts in other projects with credit. Credits: @griffpatch the animated cat sprite(slightly modified, walk cycle included) Minecraft for the following designs: - Bow - Arrow - The Fire Wand Stick Tags(ignore):