Music gallery

Game Man Yeah!

by DJ Sures · updated 15 hours ago

0:29 · 411 B compiled

The intro theme song for my game Game Man Yeah!

Use it in your game

Download the C header above, put it next to your program, and play it with NabuTracker V2 from NABU-LIB:

#include "NABU-LIB.h"
#include "NabuTrackerV2.h"
#include "mysong.h"            // the downloaded C header

void main() {

  initNABULib();

  nt2_init(mysong);              // once

  while (true) {

    vdp_waitVDPReadyInt();       // or however your game waits for vsync

    nt2_tick();                  // once per frame

    if (playerJumped)
      nt2_sfx(mysong, 0, 2);     // sound effect 0 on channel 2
  }
}
nt2_tick() advances the music by one frame, so call it once per vsync (60 times a second). Sound effects borrow a channel from the music and give it back when they finish.
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.