Skip to content

Add a TileSet property to randomize tile animation frame offset #6856

Closed
godotengine/godot
#77257
@rakkarage

Description

68747470733a2f2f692e706f7374696d672e63632f6e56345a374347502f416e696d6174696f6e2e676966

how it looks: uniform, bland, homogeneous

68747470733a2f2f692e706f7374696d672e63632f393059686a6e66682f5368616465722e676966

how i want it to look (please ignore blur): varied, random, heterogeneous

Describe the project you are working on

tile map with animations

  • some animations need to be synced ( all on same frame at all times ) like water fore and back
  • some animations need to not be synced so there is some variety when placed, like fountains, torches, and banners

Describe the problem or limitation you are having in your project

the Place Random Tile does not work for tile animations

  • even though you are able to set probability for each tile in the animation
  • and I expected it to work like this

Describe the feature / enhancement and how it helps to overcome the problem or limitation

if the Place Random Tile button worked for animations like it does for other groups of tiles it would allow placing of both synced and un-synced animations

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

The ui exists already but has no effect, i guess because only the first tile of the animation can be selected? It could either allow selection of more then the first tile or just fake a selection of whole animation in code

If this enhancement will not be used often, can it be worked around with a few lines of script?

i am sure it will be used often, the button prob already is, and the workaround cumbersome

Is there a reason why this should be core and not an add-on in the asset library?

it is already in ui?

godotengine/godot#57677

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions