Skip to content

Instantly share code, notes, and snippets.

View noidexe's full-sized avatar
👾
Making games. Being happy.

Lisandro Lorea noidexe

👾
Making games. Being happy.
View GitHub Profile
@noidexe
noidexe / audio_stream_player_with_counter.gd
Created September 9, 2022 03:35 — forked from hiulit/audio_stream_player_with_counter.gd
AudioStreamPlayer with a counter, which counts the seconds elapsed and emits a signal each second
extends AudioStreamPlayer
class_name AudioStreamPlayerWithCounter
signal playback_position_reached(number)
var counter: int = 0
var trigger_map = {}
class Trigger extends Reference: