{"id":16215937,"url":"https://github.com/rodzill4/godot-platform2d","last_synced_at":"2025-04-07T22:42:38.765Z","repository":{"id":90102959,"uuid":"67480135","full_name":"RodZill4/godot-platform2d","owner":"RodZill4","description":"2d platforms addon for Godot engine","archived":false,"fork":false,"pushed_at":"2020-11-14T13:15:16.000Z","size":1137,"stargazers_count":66,"open_issues_count":7,"forks_count":11,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-02-14T00:15:21.854Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"GDScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RodZill4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-06T06:31:47.000Z","updated_at":"2025-01-26T02:42:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f04c44c-7c15-48d3-a85c-bf4ef1a7f520","html_url":"https://github.com/RodZill4/godot-platform2d","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodZill4%2Fgodot-platform2d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodZill4%2Fgodot-platform2d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodZill4%2Fgodot-platform2d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodZill4%2Fgodot-platform2d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RodZill4","download_url":"https://codeload.github.com/RodZill4/godot-platform2d/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247744283,"owners_count":20988781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T11:17:10.123Z","updated_at":"2025-04-07T22:42:38.744Z","avatar_url":"https://github.com/RodZill4.png","language":"GDScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# godot-platform2d\nThis addon provides 2 new node types for 2d platformer-style games (both inherit from StaticBody2D):\n- ThinPlatform: this object is defined by a curve and provides a StaticBody2d that \"follows\" that curve. It is drawn using a texture that is rendered along that curve. It can be used to create thin platforms.\n- ThickPlatform: this object is defined by a closed curve and provides a StaticBody2d inside that curve. It is drawn using a \"fill\" texture and \"border\" textures. There are 2 border textures that are used depending on the edge angle.\n\nIt also provides example scenes for:\n- player that can can run, jump, fall, wall slide, wall jump, die and respawn\n- coins that can be collected\n- traps that kill the player\n- checkpoints that define a new respawn point when reached\n\n## Common exported variables\n\n- **MovingPlatform** is a boolean parameter that will automatically update the platform's constant linear velocity when the platform is moving.\n- **Curve** is the curve that defines the platform's shape (make sure to make it unique when copying a platform or the curve will be shared)\n- **Bake Interval** is the distance between 2 points in the rendered platform. Keep this as high as possible (depending on the platform's shape) to improve rendering performance\n- **Style** is a (custom) resource that defines how the platform looks\n\n## ThinPlatform style resource\n\n- **Left Texture** is the texture drawn on the left side of the platform.\n- **Mid Texture** is the texture used to draw the platform. It must have the *repeat* attribute.\n- **Right Texture** is the texture drawn on the right side of the platform.\n- **Left Overflow** (resp. **Right Overflow**) is the \"amount\" of the left (resp. right) texture that \"overflows\" from the platform (useful when the texture shows non-solid stuff like grass).\n- **Thickness** is the thickness of the platform.\n- **Position** is the position of the curve in the platform's thickness and can be used to adjust the positions of the texture and the StaticBody2D. Set it to 1 when the texture has no perspective effect (the world is strictly viewed from the side) and somewhere between 0 and 1 when the top of platforms is drawn.\n\n## ThickPlatform style resource\n\n- **Fill Texture** is the texture used to fill the platform. It must have the *repeat* attribute.\n- **Top Texture** is a texture used to draw the edge on the top of the of the platform. It must have the *repeat* attribute.\n- **Top Left/Right Texture** are the textures drawn on the edges of the top texture.\n- **Side Texture** is a texture used to draw the edge of sides and bottom of the platform. It must have the *repeat* attribute.\n- **Top/Side Thickness** are the thickness of the border textures\n- **Top/Side Position** are the position of the curve in the platform's border and can be used to adjust the positions of the textures and the StaticBody2D.\n- **Top Left/Right Overflow** is the \"amount\" of the edge texture that \"overflows\" from the top.\n- **Angle** is the threshold angle used to select between top and side textures. Transitions between textures only happen at control points.\n\n## Styles\n\nThinPlatform and ThickPlatform styles can be created, removed, loaded and saved using the **Style** menu in the 2d view toolbar. This menu will be removed once I figure out how to have a correct menu for custom resources in the inspector.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodzill4%2Fgodot-platform2d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodzill4%2Fgodot-platform2d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodzill4%2Fgodot-platform2d/lists"}