ScratchData LogoScratchData
Back to catsarecool39's profile

Platformer Engine

CAcatsarecool39•Created October 13, 2024
Platformer Engine
14
10
75 views
View on Scratch

Instructions

Hello, and welcome to my platformer engine! You can use WASD or arrow keys to move, and press Space as an alternative jump. This engine is designed to smoothly run any at speed, without lagging it chunks. basically, you can control the FPS, but it doesn't seem laggy if you set it low. If you need slow-mo in any of your games, or if you are just looking for a platformer engine, I hope you choose this one. Feel free to remix and add more levels and features! Keep on scratching! :D

Description

All code and art (there isn't much art) is by me! My recommended settings for the 'Run platformer engine' block are 25-30, 1.5, 3, -1, 3-5, and 9-11. 'Gravity' is how fast the player accelerates downwards, 'friction' is how fast the player slows down, (use any amount ABOVE 1 otherwise the player will keep moving forever) and 'acceleration' is how fast the player can move at top speed. 'Jump' is how long you can be off of the ground before you are unable to jump, and 'jump height' is about how high you will jump multiplied by 'jump'. 'Speed' controls how fast the platformer engine runs in FPS, 30 being scratch's normal running speed. The sprites: 'Player' is the player. You don't have to change anything, but that doesn't mean you can't! Experiment with it as much as you want. 'Level' is the solid ground that your player can stand on, and not go through. Use this sprite for the level design of platforms and the ground. 'Spikes' is the dangerous stuff. It will make the player respawn if they touch it. Add some spikes to make the level harder, but don't over complicate it! (Keep in mind that the player also respawns if they go off of the bottom of the screen) 'Text' is the messages that the player will see through out the levels. You can give hints, or even try to mislead the player. That is all. I hope you found this helpful!

Project Details

Project ID1080873234
CreatedOctober 13, 2024
Last ModifiedOctober 23, 2024
SharedOctober 17, 2024
Visibilityvisible
CommentsAllowed