mastodon.design is one of the many independent Mastodon servers you can use to participate in the fediverse.
A small instance for and by people who make things! We stand for an open, independent, sustainable, inclusive, and accessible web.

Administered by:

Server stats:

337
active users

Adrian Mato 🐙

I continue to learn how to apply inheritance to generate variations of the same `parent node`. Here, I'm extending a `Pickup` node that can detect collision against different nodes (i.e, the player) and trigger effects in the node interacting via `callbacks`.

The pickup will play its own animation, toggle temporarily a `ghost effect` where the player will play a `blink animation`, and disable `collisions` against walls for three seconds.