You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TileSet animations all start at frame 0? This is fine for water tiles which all have to sync up but sometimes you want to start each animation at a random frame. In Godot 3 (and 4), one can animate tiles with a shader which can use the Place Random Tile check and Probability to either start animations at frame 0 or at a random frame.
To get the shader to work in 4 I had to put it on each frame and select each frame when painting.
I guess the frames could access to a Probability property? Then the Place Random Tile check could be used to indicate if u want a Random Tile based on the probability or not?
Edit: or probability does not even matter when choosing the first frame of an animation.? It is just the mechanism that allows for selecting a random start frame in the shader? This may already be being worked on since check is usable but does nothing when animation selected. thanks
Thanks.
Steps to reproduce
Open TileSetShader.tscn, select all Banner1 frames in TileMap window, check Place Random Tile and draw random animated banners
Open TileSetAnimation.tscn select Banner1 animation in TileMap window, check Place Random Tile and draw same animated banners
i think the problem is that once u make an animation, you can only select the first tile from the animation, so the Place Random Tile button does nothing since you must have multiple tiles selected
the fact that this button does nothing when an animation is selected, and this feature (random animation starting tile) is missing is not a coincidence?
you can set probability for each for each frame in animation and then it is just ignored when Place Random Tile button is checked? seems like a bug... sorry idk
Godot version
v4.0.alpha1.official [31a7ddb]
System information
Windows 10
Issue description
TileSet animations all start at frame 0? This is fine for water tiles which all have to sync up but sometimes you want to start each animation at a random frame. In Godot 3 (and 4), one can animate tiles with a shader which can use the Place Random Tile check and Probability to either start animations at frame 0 or at a random frame.
To get the shader to work in 4 I had to put it on each frame and select each frame when painting.
I guess the frames could access to a Probability property? Then the Place Random Tile check could be used to indicate if u want a Random Tile based on the probability or not?
Edit: or probability does not even matter when choosing the first frame of an animation.? It is just the mechanism that allows for selecting a random start frame in the shader? This may already be being worked on since check is usable but does nothing when animation selected. thanks
Thanks.
Steps to reproduce
Minimal reproduction project
https://github.com/rakkarage/NewTileMapTest
The text was updated successfully, but these errors were encountered: