Skip to content

Pass input parameters to Cycle::generate #95

@unlessgames

Description

@unlessgames

Passing the parameters would allow for real-time structural changes. This would be constrained to each batche of events but might still be fairly useful.

Dynamic data could be supplied via a HashMap<String, Variant>, where keys would be the name of the input parameter and values would be wrapped in a variant type of floats, ints and strings (to mirror parameters), then inside the notation you could say something like

[a b c d]*$div

This would substitute the value of the parameter named div when generating, allowing you to change the speed of the subdivision step at runtime without changing the code. Similarly it could be used for setting chance, setting event properties etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions