ScratchData LogoScratchData
Back to -StickyCoder-'s profile

Position scaling and pivot points

-S-StickyCoder-•Created March 1, 2025
Position scaling and pivot points
0
0
6 views
View on Scratch

Instructions

Use CAM X and CAM Y to move the cats around. Use SIZE to change the size of the cats. Use DIRECTION to point the cats in a direction. The cat on the left is a normal scratch cat. The cat on the right is a scratch cat where the limbs are separated into different costumes. This is a test for Laser Gladiators. Be sure to follow my main @Fulcrum-19 for more content! Laser Gladiators Official Studio: https://scratch.mit.edu/studios/35947303/ Latest update: You can now flip the cat's direction, and the normal cat can now bypass size and position limits. How this works: the cat to the right is composed of several different costumes that are all put together. Their position will scale with the size and direction of the sprite! The position depending on the size is a simple y=mx+b equation, but the rotation I had to get clever on. What I did was found the distance the body part was from the center of the screen, then the angle that was created, and considered that point was where the circle was at 90 degrees.

Project Details

Project ID1140923340
CreatedMarch 1, 2025
Last ModifiedMarch 9, 2025
SharedMarch 2, 2025
Visibilityvisible
CommentsAllowed