#(UNRESOLVED)How to display particles like this over player's screen like below and only when I want?
1 messages · Page 1 of 1 (latest)
How to display particles like this over player's screen like below and only when I want it?
?
If it’s “on the players screen” it would no longer be a particle but rather a hud overlay
You would be better off either achieving this through hud screen json ui, or rendering it onto the player geometry which I wouldn’t hugely recommend
How to do that?
@torpid marsh
?
?
(UNRESOLVED)How to display particles like this over player's screen like below and only when I want?
?
?
?
Conditionally render the image
https://wiki.bedrock.dev/json-ui/json-ui-intro#conditional-rendering
How to add animations to the image?
Also how do I actually add this? The black particle like thing in the image I gave
Also, how to display those black like things like in the original post without covering player's screen. Like the screen being covered by the whole image.
Using the title to conditionally render the images, a title that enables a panel with all those images, using the offset to move each one.
I mean if there isn't a background in those black particle image, will it not cover the whole screen like I want and only show the particles?
I don't quite understand what you mean, but if you want to put particles on the screen, you just have to use the title to conditionally render a panel with all the particles.
You would make each image a small size and move it with offset.
The panel has no background, so it would look just like the example image you provided.
Also what's a panel in json ui BTW? I am new to json ui
A panel is basically a template, the panel is like a shelf where you will place things to make it look good and keep it organized.
In the panel you can place any other element, there are different types of panel, you should investigate the documentation to learn how to use Json UI
Also, how to match the dimensions of the photo according to the platform?
Or, do I not have to scale the sizes according to platforms?