Skip to content

Collectible threads: Integrate more visually enticing animations - #2960

Open
melalicialorenamoyanocastaneda-png wants to merge 31 commits into
endlessm:mainfrom
melalicialorenamoyanocastaneda-png:main
Open

melalicialorenamoyanocastaneda-png wants to merge 31 commits into
endlessm:mainfrom
melalicialorenamoyanocastaneda-png:main

Conversation

@melalicialorenamoyanocastaneda-png

Copy link
Copy Markdown
Contributor

Collectible threads: Integrate more visually enticing animations

Here is my contribution, now the threads can move up and down, floating in the air, also there are their tales and lights, and the shadow has a little animation in default.

Resolves [Collectible threads: Integrate more visually enticing animations #2876] (#2876)

@github-actions

Copy link
Copy Markdown

Play this branch at https://play.threadbare.game/branches/melalicialorenamoyanocastaneda-png/main/.

(This launches the game from the start, not directly at the change(s) in this pull request.)

@manuq manuq left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking good, thanks @melalicialorenamoyanocastaneda-png . Please check my feedback.

Comment on lines -27 to +29
ItemType.MEMORY: preload("uid://5wscjc8yqqts"),
ItemType.IMAGINATION: preload("uid://6bf8rum68wq3"),
ItemType.SPIRIT: preload("uid://cepg1o3ihp055")
ItemType.MEMORY: preload("uid://xm1p6x8oqteb"),
ItemType.IMAGINATION: preload("uid://dnjaa4bhfjdvr"),
ItemType.SPIRIT: preload("uid://chyvv5qjtwgga")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The UIDs changed, probably because the assets were moved outside of Godot.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nono, it's because I wanted to load the new versions that I made before in the other task, but even if I changed the sites of the archives I saw that the images did'nt change because the still had a shadow and I wanted to use the one that did'nt have shadow, then afte a little I saw why, and I saw that in the resource of the thread and in the code it still had the UID of the old ones with shadow, that's why I changed them

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I putted the images back in the carpets in any case but the UIDS still going to be of the new threads because they don't use a incorporated shadow instead the original threads have a shadow incorporated and they have to be saparated for the animation, that's why I say again I putted the UIDS of the new threads and changed the original by the news in the animations, but I putted the carpet as they were originally as you say

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were moved from assets/first_party/collectibles/world_imagination.png to this "Original_threads" folder, and without maintaining the UIDs. I think they were fine in their original location.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even if they were fine there, I had to change them because of the shadow

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If not then I put them in the carpets back but the UID will stay as I said because of the shadow

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was scared to change the carpets again but I think nothing happened jajajajaja

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

emmm no, there is a error but I don't understand it

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright there is not the error anymore, I fixed it but as I say in the comments up, the uid will still be changed

Comment on lines +74 to +76
## The highlight frames are white so that they can be tintend to match the
## thread, self_modulate is used because modulate is animated by the reveal
## and collected animations.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the explanation of why self_modulate is used!

Comment on lines +144 to +148
for node: CanvasItem in [sprite_2d, shadow, highlight, tail]:
if not node:
continue
node.visible = revealed
node.modulate = Color.WHITE if revealed else Color.TRANSPARENT

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could add all those to a Node2D called "VisibleThings" and set visible and modulate on that one, instead of iterating 4 sprites. With that, you can also use modulate instead of self_modulate for the highlight above. And also reduce the amount of tracks in the "reveal" animation:

Image

@melalicialorenamoyanocastaneda-png melalicialorenamoyanocastaneda-png Sep 29, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whit the highlight and the tail probably because the shadow I putted a little bit of opacity y el sprite 2D complicate too jajaja

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

emmmmm better no for now, i tried whit the highlight and the tail but it ocurred something, I don't know jjajaja

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i tried it but I think with the new script or something goes in conflict each other and then the highlight and the tail when I tried it did'nt appear jajajjaa

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants