Skip to content

Make SimpleCharacter more flexible #215

@manuq

Description

@manuq

What Happened

SimpleCharacter is inflexible because it imposes a collision shape. Even if no texture is provided, it fallbacks to a 100x100 px square. Also the texture can't be resized from the canvas, but that can be workarounded by adding a Sprite2D as child. So let's do the same with the collision node: don't impose one.

Still maintaining the simplicity of passing a texture image and automatically gain a collision box matching the texture size.

How to Reproduce

Explained above.

Block Coding Plugin Version

main

Godot Engine Version

v4.3

Operating System

Endless OS

Logs or command-line output

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions