Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Sudden Sprite2D

An asset by suddenhost
The page banner background of a mountain and forest
Sudden Sprite2D hero image

Quick Information

0 ratings
Sudden Sprite2D icon image
suddenhost
Sudden Sprite2D

Provides a Sprite2D node that auto generates its custom collision polygon shape.

Supported Engine Version
4.6
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
1 month ago
Git URL
Issue URL

SuddenSprite2D

Overview

This is project contains the SuddenSprite2D plugin and demo. SuddenSprite2D is a Sprite2D that generates collision polygons for its texture at runtime and in Godot Editor.

It was tested on Godot 4.6. It should work on some previous versions though.

Setup

  • After installing the plugin, the SuddenSprite2D will be available on Create New Node window.

#Important Notes

  • Feel free to extend the SuddenSprite2D. Check out the Demo in this repository.
  • SuddenSprite2D exposes an area_entered() signal and methods to get the overlapping areas and bodies.
  • You can also set collision layers and masks.
  • Graphics used in the Demo: https://kenney.nl/assets/platformer-characters
  • Don't forget to reload the scene after add new SuddenSprite2Ds to it or changing textures so they collision polygons are visible on the Editor.

Visual Sample

README Visual Sample

Provides a Sprite2D node that auto generates its custom collision polygon shape.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Sudden Sprite2D icon image
suddenhost
Sudden Sprite2D

Provides a Sprite2D node that auto generates its custom collision polygon shape.

Supported Engine Version
4.6
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
1 month ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers