ScratchData LogoScratchData
Back to squarepoint's profile

Floppy Cat!

SQsquarepoint•Created April 1, 2024
Floppy Cat!
58
53
354 views
View on Scratch

Instructions

Floppy Cat! A cat that is floppy (no cats were harmed in the making of this project) INSTRUCTIONS Move your mouse around and click on the cat to grab him. Drag and release to throw him around and do stuff. Also press C to show some settings. SETTINGS EXPLANATION Cat x and y position: self explanatory but useful if you toss him super high Cat average speed: the amount of pixels he traveled during the last frame, so multiply it by your FPS to get the average speed per second. Ex: 25 speed running at 30 fps means he is traveling at 750 pixels per second (the screen is 480x360). Don't worry, the walls on the side go all the way up to infinity so you can't lose him. Also, the x, y and speed are taken from the joint in his neck. Last impact force: essentially the speed he was traveling at when he hit the ground. Gravity: self explanatory, watch out if you set it to 0 because there is no wall up Substeps: how many times the physics engine runs per frame, set it to a high number if you plan on moving him fast or you might experience glitches Wireframe: set it to 1 to show the physics skeleton Logarithmic blast: you see, i had to cheat a bit because normal impact forces (when he falls down) are like 20-30 on average yet you can get to crazy numbers (100-200) if you slam him on the ground really hard. So to not make the blast effect look absolutely ridiculous, i applied a log function to it. Turn the setting off to see what i mean lol HOW IT WORKS This project uses a physics engine based on verlet integration (the same thing griffpatch used on his ragdoll, but i coded this one myself). I also made the model by taking each of the cat's limbs and assigning it to a costume. Due to the fact that his head is so big and i had to add more joints into it, it sometimes looked as if it disconnected from the body when you swung him fast. To fix this i doubled each one of the connecting lines in his body to make them stronger. Also can we talk about how his head is so huge that his whole body fits inside of it? CREDITS I stole the vine boom somewhere, and i think the song is the unity x megalovania mashup by literallynoone. Idk if it fits, but it's an amazing song. TAGS #games #all #simulations #physics #engine #goofy #ragdoll #kick #the #buddy #verlet #integration #floppy #cat #scratch #scratchy #funny #whataretagsfor I once yeeted the cat 400 000 pixels upward (he was traveling at a speed of 150-200 while going up) and made him withstand an impact force of 1200!!! Can you beat my records? UPDATE: Added cloud highscores! (only possible with substeps 8 and gravity 0.5) (scratch cat is canonically a cyborg anyway so dw he's okay)

Project Details

Project ID992876574
CreatedApril 1, 2024
Last ModifiedApril 9, 2024
SharedApril 8, 2024
Visibilityvisible
CommentsAllowed