{"id":31040374,"url":"https://github.com/peter-kish/vision2d","last_synced_at":"2025-10-05T02:28:26.870Z","repository":{"id":314569274,"uuid":"1051330862","full_name":"peter-kish/vision2d","owner":"peter-kish","description":"A Godot plugin (version 4.x) for rendering 2d fields of vision.","archived":false,"fork":false,"pushed_at":"2025-09-13T10:26:54.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-13T10:39:24.250Z","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/peter-kish.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-05T20:01:48.000Z","updated_at":"2025-09-13T10:26:58.000Z","dependencies_parsed_at":"2025-09-13T10:39:26.645Z","dependency_job_id":"c6392749-0c73-4e90-93f9-68fff2351152","html_url":"https://github.com/peter-kish/vision2d","commit_stats":null,"previous_names":["peter-kish/vision2d"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/peter-kish/vision2d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-kish%2Fvision2d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-kish%2Fvision2d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-kish%2Fvision2d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-kish%2Fvision2d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peter-kish","download_url":"https://codeload.github.com/peter-kish/vision2d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-kish%2Fvision2d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275078679,"owners_count":25401771,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-09-14T08:29:03.966Z","updated_at":"2025-10-05T02:28:26.771Z","avatar_url":"https://github.com/peter-kish.png","language":"GDScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vision2D\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"images/vision2d_blue.svg\" width=\"128\" height=\"128\"/\u003e\n\u003c/p\u003e\n\nA Godot plugin (version 4.x) for rendering 2d fields of vision, inspired by [Teleglitch](https://store.steampowered.com/app/234390/Teleglitch_Die_More_Edition/).\n\n![](images/screenshot.png \"Vision2D\")\n\nThe plugin renders a number of polygons covering up parts of the screen that are outside the observer's field of vision.\n\n![](images/screenshot_polygon.png \"Vision2D\")\n\nThe field of vision can be blocked with a `VisionOccluderLine` node or a `VisionOccluderPolygon` node:\n\n* ![](addons/vision2d/icons/vision2d_vision_occluder_line.svg \"VisionOccluderLine icon\") `VisionOccluderLine` - Represents a line that blocks the field of vision. Extends [Line2D](https://docs.godotengine.org/en/4.4/classes/class_line2d.html).\n* ![](addons/vision2d/icons/vision2d_vision_occluder_polygon.svg \"VisionOccluderPolygon icon\") `VisionOccluderPolygon` - Represents a polygon that blocks the field of vision. Extends [Polygon2D](https://docs.godotengine.org/en/4.4/classes/class_polygon2d.html).\n\nBoth nodes have the following properties:\n\n* `observer: Node2D` - A `Node2D` representing the position of the observer.\n* `shadow_color: Color` - Color of the shadow that covers up the screen.\n* `size: float` - Size of the shade that covers up the screen.\n* `penetration: float` - Determines how deep the vision can penetrate this occluder.\n* `max_segment_size: float` - Max. size of the segment that casts the shadow (smaller segments -\u003e more detail).\n\n## Installation\n\n1. Create an `addons` directory inside your project directory.\n2. Get the plugin from the AssetLib or from GitHub\n    * From the AssetLib: Open the AssetLib from the Godot editor and search for \"Vision2D\". Click download to install the plugin.\n    * From GitHub: Run `git clone https://github.com/peter-kish/vision2d.git` and copy the contents of the `addons` directory to your projects `addons` directory.\n4. Enable the plugin in `Project Settings \u003e Plugins`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-kish%2Fvision2d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeter-kish%2Fvision2d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-kish%2Fvision2d/lists"}