Picomite VGA games


Author Message
Volhout

Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 6101
Posted: 08:27pm 17 Apr 2023      

@Geoff,

A simple way to add game sound to the game.....

Below is Geoff's Blocks with few lines added to create game sound.
Thank you Geoff for this well polished version of Blocks...

'start endless music now
Play volume 50,50  'adjust for best gameplay (0-100)
restartplay        'start music (endless loop)

'timed interrupt to restart the gameboy tetris tune when ended (1:16 duration)
Sub restartplay
 Play wav "tet16cut.wav",restartplay 'start music, and restart when end
End Sub


The sound file I recorded from a nintendo gameboy...

Blocks_sound.zip

Happy gaming...

Volhout