Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Returning the ink: The Fill-Matching mechanic #1323

manuq started this conversation in Submit a Guide!
Discussion options

Well done StoryWeaver, you have collected enough ink for new songs and stories. Everyone will rejoice.

The fill-matching is an action game mechanic in which the player has to repel projectiles and redirect them to their corresponding barrels. The barrels have a certain amount of completion. When a projectile enters the corresponding barrel, the amount is incremented. Complete all barrels to win the game.

TODO: Write a tutorial here describing the components of the fill-matching mechanic: barrel, projectile, throwing enemy, repel action.

You must be logged in to vote

Replies: 2 comments 2 replies

Comment options

Currently, when only one barrel is completed, the player wins. Is there a variable for the amount of completed barrels needed for the win?

You must be logged in to vote
1 reply
Comment options

manuq Nov 19, 2025
Maintainer Author

Currently, when only one barrel is completed, the player wins. Is there a variable for the amount of completed barrels needed for the win?

Yes! Select the FillGameLogic node. Then in the Inspector, check the "Barrels to Win" property and set it to the amount you want.

image
Comment options

Hi! is it possible to damage the enemy using its own ink instead of filling barrels? or i must make something like attaching the barrel to the enemy while its moving in order to simulate a "take damage" interaction

You must be logged in to vote
1 reply
Comment options

manuq Jun 18, 2026
Maintainer Author

@TheWeebCrafter10010 hi! In your projectile scene, activate "Can Hit Enemy". This will make the projectile collide with layer 8 "enemies hitbox".

Screenshot From 2026年06月18日 07-50-00

You should add an Area2D to your enemy as your hitbox using layer 8 "enemies hitbox" as collision layer and 9 "repellable" as mask layer.

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

AltStyle によって変換されたページ (->オリジナル) /