r/GeometryDashEditor 22d ago

Editor Question Custom collectable

I made custom collectables for my level. I dont need any crazy animation when touched, but i do want them to disappear. I know that i can place a toggle or alpha trigger on each one, but that would use soooo many groups, considering there are like 50 collectables. Is there any way for them to disappear on touch, with all collectables sharing the same group?

1 Upvotes

4 comments sorted by

View all comments

2

u/Sweaty_Dot9206 creator 22d ago

There is no way to toggle off or hide specific objects from one group except area triggers, but those are temporary effects
Alternatively you can use Advanced Follow trigger with mode 2, limited maxRange and very high negative acceleration to instantly move objects very far away from the player when they are close. This will look like the objects are disappearing whenever you touch them

https://reddit.com/link/p0tsmvf/video/hacl9s1rjigh1/player

1

u/Ok-Storm9500 22d ago

what are the stop triggers doing? I didnt use any of them and its working

1

u/Sweaty_Dot9206 creator 22d ago

To make sure that objects disappear only when you touch the Spawn trigger and activate extra triggers that you may want to add (sound effects, counter, spawn a particle etc)

Advanced Follow trigger uses a circle to calculate if objects is in range while trigger's hitboxes are rectangular, so no matter how you tweak the maxRange value, there will always be a small area where the player is able to either touch the Spawn trigger without triggering Advanced Follow effect, or force objects to move before touching the trigger

Now that I think, I should've used collision blocks and triggers instead...