dragonruby-audio

Installation
SKILL.md

This skill covers advanced DragonRuby audio patterns. For basic sound playback see the main dragonruby skill.

The args.audio / args.outputs.sounds API surface lives in the main dragonruby skill's Audio section — one home per topic. This skill starts where that API ends.

Spatial Audio

Map screen coordinates to the normalised -1..1 range the engine expects:

def screen_to_audio_x(screen_x, screen_w = 1280)
  (screen_x / screen_w.to_f * 2.0) - 1.0
end

def screen_to_audio_y(screen_y, screen_h = 720)
  (screen_y / screen_h.to_f * 2.0) - 1.0
end
Installs
7
GitHub Stars
3
First Seen
Mar 9, 2026
dragonruby-audio — nitemaeric/dragonruby-skills