ScratchData LogoScratchData
Back to -StickyCoder-'s profile

THE FINAL VERSION of LG physics

-S-StickyCoder-•Created September 16, 2024
THE FINAL VERSION of LG physics
1
0
21 views
View on Scratch

Instructions

Welcome, to the FINAL VERSION of the Laser Gladiators physics engine! I have been working very hard to make the PERFECT movement engine for LG, and I have finally finished it. I hope you enjoy! The original version of this movement engine was created in a bit less than 2 weeks with no outside help or tutorials. Everything in this project was made by Fulcrum-19. Please credit him if you decide to use this physics engine for one of your games. Special thanks to @Jareddddddd for giving me ideas to help me fix some major bugs. Controls and mechanics: A - move left D - move right W - jump (can't hold jump button to jump (you jump higher if you hold the jump button (unless you're wall jumping)) (if up against a wall when falling, a wall jump will be preformed) S - ground slam (when in air increases how fast you fall) slide (when on ground and moving fast enough makes player move faster down slopes (will decrease hitbox size in future)) Space or double tap move keys - sprint (can't start sprinting while in the air (will have a cooldown in the future) Going up slope - will decrease the player speed slightly (if slope is too steep to walk up, you will slip down it (the slipping took FOREVER to perfect)) Wall sliding - when up against a slope while falling and the move key that would move you toward the wall is being pressed, you will slide down the wall (will have a special hitbox in the future for asymmetrical main hitbox that will be used in LG) Scrolling - using the SCROLL X and SCROLL Y variables, you can control where the center of the screen is (always tries to get set to set to the x and the y, but has a slight delay to add an interesting visual effect) Recent bug fixes and additions: When holding jump button, you were supposed to jump higher, but accidentally broke it when making you be unable to hold the jump button to jump. Also fixed a glitch where it would take you 1 frame after pushing the jump button to actually jump. Fixed a glitch when colliding with a slope that is normally too steep at a certain speed, position or slant, would cause the player to jitter. Fixed a glitch when sliding off a platform, you would get a sudden burst of speed. Changes to scrolling. Added a little obstacle course. Fixed a glitch when switching directions at the last second before falling off a platform, you would be unable to move in the opposite direction of which you fell off. Fixed a glitch that caused the camera to not center correctly. Made sliding more balanced. You can now press the jump button to stop sliding. Made sliding acceleration slightly slower. Fixed all major glitches, including sliding on floors is fixed, slopes have been changed to make them work a lot better, fixing the glitch that caused the player to go up slopes too fast, and effectively slow down the player. Fixed a glitch that caused the player to stick to slopes that should be too steep to stand on. Fixed a glitch when colliding with a wall, the player would occasionally be forced upwards, and/or jitter. (PLEASE LET THIS BE THE LAST PATCH ???) If you ever find another glitch, be sure to let Fulcrum know.

Project Details

Project ID1068619171
CreatedSeptember 16, 2024
Last ModifiedSeptember 19, 2024
SharedSeptember 16, 2024
Visibilityvisible
CommentsAllowed