Controlling the costume showcase Use the Arrow Keys, WASD, or the Joystick to move the avatar in any of the eight directions. Release all directional inputs and hold Space or the sword button to see the sword animations. Press and hold the avatar to play the itemget animation. This project contains custom Player costumes, as well as a greatly upgraded Player Movement block that not only allows the PLAYER DIR variable to sense eight directions, but is also much simpler. It also includes a modified When I receive TICK PLAYER block that sets the sword animations when the player is standing still and Space is pressed. Aside from the additions, i've removed all of the left-facing sprites. Seeing as all of the "-90" sprites were mirrors of the "90" sprites, I wrote code into the Player Movement block that flips the player left when they input left. This method of painting the player removed the need for 18 costumes in the walk animations, and the same goes for the sword animations. Using the “Player Movement" block To import the new Player Movement custom block into your project, simply backpack it (or the entire Player sprite) and drag the code into your own Player sprite. Then replace the contents of your original Define Player Movement block with the new code, and replace the Try Move block in the new code with the Try Move block from your project. It's important to know that the new Player Movement code will make the player look glitched out if you try to make them move diagonally before importing the diagonal costumes. Importing the new Player costumes The new Player costumes don't necessarily have to be completely in order (walk0, walk45, walk90, etc) but they do have to be in the order of the same direction. (walk45, walk45.1, walk45.2, and so on.)
Latest version of my Cloud Multiplayer RPG: https://scratch.mit.edu/projects/851967225/ This was made for people who want to build an RPG with the Scratch RPG Starter Assets. I really want to see people make use of the new content! This project is an addon to Griffpatch's RPG tutorial. https://youtube.com/playlist?list=PLy4zsTUHwGJJM6OFblu_t-5I5Yw5SxvhT. The extra sprites were made in Piskel by modifying the original sprites by Vryell. https://opengameart.org/content/tiny-adventure-pack Extra sprites and thumbnail made by me.