xyz oh
btw i wont rlly do it with a shader, ill do the modulate thing
[GODOT 4.1] "CompressedTexture2D" version for a color code?
SuperGibaLogan Then it's a no brainer. Animate the alphas.
xyz o, ill use a shader then
SuperGibaLogan but im not rlly sure how to write a shader code
- Edited
SuperGibaLogan Well, then maybe animate alphas.
xyz alright, i could prob use an animationplayer2d or another animation node
SuperGibaLogan Or a tween.
xyz could be
reading this thread gives me cancer.
feels like one is talking tomatoes and other tamatos.
@xyz said just have two sprites in the same place, or node or whatever, animate one sprite going to transparant, invisible and other going from transparant to full color.
whats so difficult here to understand? whats the problem?
- Edited
kuligs2 ill try putting 2 animation players in the same place then
EDIT: realized the image is an animationplayer2d so i duplicated it
xyz so uhh how do i do the "one going transparent and the other going to full color" thing with 2 animationplayers?
- Edited
Guess I'm in for some spasmodic eye twitching on top of that headache
SuperGibaLogan so uhh how do i do the "one going transparent and the other going to full color" thing with 2 animationplayers?
You can animate them both with one animation player. The property you want to animate is modulate.a
on both sprites.
xyz alright then
xyz but by "both sprites" do you mean like the animationplayer and the node the animationplayer is in?
- Edited
SuperGibaLogan The animation player can be "outside" of both of those nodes.
If you want to crossfade two sprites you need two sprite nodes and one animation player node. That's all. Don't they have some tutorial on this stuff nowadays? What does ChatGPT says?
xyz but the node that the animationplayer is in has its own scene though, what do i do?
SuperGibaLogan btw every part of the node is in the node's scene
- Edited
SuperGibaLogan Post the scene structure. You can always pull those sprites out of their scenes. Do they need to be in there? Maybe they don't. Who put them there? With what intent? Are you operating on your own or controlled by a hidden hand of a tutor or a chatbot? So many questions, so many posts in this thread, so little time. Maybe life is too short to bother with this stuff altogether. When was the last time you went on a hike into wilderness?