Skip to content

Allow easy "func overriding" of specific map build steps for customization #107

Description

@azur-wolve

A core rebuild of FuncGodot has been mentioned various times.

It looks like a good moment for propose this.

Would want to suggest to make it easy to allow "overriding" functions of the FuncGodot core for custom map building.

Ideally consists in that every step would be split into a function for separation of concerns and easily having custom versions of it for a project.

Using #97 as example, there would be a function called ie _apply_tool_textures() to make it easier to modify just that particular aspect instead of being just mixed with other parts of the map build process.

Not sure if would be better to turn those funcs into callable variables, allowing to assign them a custom function that is assigned to.

This way would be able to just change specific functions rather than extend FuncGodotMap and rearranging / recreating all the map build pipeline of functions just to change a particular step.
So only assign a custom callable to FuncGodotMap.whatever_callable = custom_callable.

Not sure if that makes sense.

That would allow to have custom map build solution for features that are tied to projects or personal workflows that aren't merged into vanilla FuncGodot, without much trouble for being updated after new official releases.

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