ScratchData LogoScratchData
Back to CheeseyCheese100's profile

Ludicrous Loops Liberated

CHCheeseyCheese100•Created March 29, 2018
Ludicrous Loops Liberated
25
21
265 views
View on Scratch

Instructions

Use the arrow keys to move around. ==================================== Disclaimer: The concept and structure for this project are not my own. This project is externally the same as PullJosh's original, but I've made several changes to the map representation and physics engine. The way that I wrote the code for this project is not the worst, and hopefully kind of sustainable. (The collision detection is based off of lists. This means that adding new areas is *much less* difficult.) I would *love* to see a large puzzle game featuring the "walking around loops" concept, now that a major rework of the physics engine has been done. Ideas for what could be included in a full-featured game using this concept: - 90 degree angles (Done!) - Buttons/switches that cause particular parts of the level to rotate or move - Bow & arrow or other long-range device to allow activating buttons and switches from a distance (potentially allowing parts of the level to flip while you're standing on them!)

Description

First off, nothing is hardcoded any more. I've moved the components of the level into two lists: arcs and segments. arcs contains the information about the curved sections. Each curved section is represented by 6 elements in the list: Center x and y coordinates, inner radius, outer radius, start angle, and stop angle. Note: The stop angle must be greater than the start angle and outer radius must be greater than inner radius. segments contains the information for all of the straight lines in the level. Each line corresponds to 4 entries in the list: Starting x and y, and ending x and y coordinates. Note: these lines must be either vertical or horizontal. The changes to the physics engine are a little more extensive, but are better explained by looking inside this project. 90 degree angles are now supported, everything is calculated from the lists instead of by absolute sprite position, and I believe that rotating sections are also possible (I have yet to test that theory though). Up next for me is a level editor with import, export capabilities.

Project Details

Project ID213192761
CreatedMarch 29, 2018
Last ModifiedApril 3, 2018
SharedApril 2, 2018
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root