Secrets of Raetikon Wiki

Ginkgo uses events to communicate when something happens. Here's an example: when the player grabs something, an onAttach event is triggered. If a SoundEvent component listens to this event (i.e. waits for it) then it can play a sound once the player grabs something.

Here are some conventions the engine uses for naming events:

.event → global event
.path.event → absolute path
root.event → root event
root.path.event → absolute from root
path.event → relative path from node

Words of warning: Global events are to be avoided whenever there is an alternative because if there is a name collision it is very hard to find/detect.