Topic: Sounds for Tetris game?

Is it possible to add sound support for my Tetris game using AppGraphics? Can I use WinApi?

Re: Sounds for Tetris game?

AppGraphics does not contain any sound routines.  You would need to use something else, and the Windows API is an option.  If you're writing everything in Fortran, you'll need to wrap the API calls using the ISO_C_BINDING module.

I have, in the past, used the MCI API to play sound under Windows.  Most of the API is just sending strings, so it should be easy to wrap in Fortran calls.

Jeff Armstrong
Approximatrix, LLC