#can someone explain how to create the same thing in godot?
1 messages · Page 1 of 1 (latest)
Create a white square sprite, add a shader to it, copy the code from the site and paste it and modify it to work with the Godot shader language
You can find shader language reference in the docs
?
It instead is basically rendering dots that it moves through the code and if they're close enough it draws a line between them
You could still theoretically do that with a shader
i also need to spawn them and make them move in random direction
But it won't be as simple as taking the code and transforming it
so what should i do?
Well you could theoretically make multiple dots, have them move randomly through code, have another object check if they're close enough and if they are, instantiate a Line2D node and create a curve2D with the two positions being the two dots' positions
Or you could try to make your own shader that would basically do that but without physical nodes
oof it sounds extremely hard for me as a beginnerXD