background preloader

Tech Resources

Facebook Twitter

W3Schools Online Web Tutorials - StumbleUpon. Online converter - convert video, images, audio and documents for free. Beginning Game Development: Part VIII - DirectSound &124; Coding4Fun Articles &124; Channel 9.

Welcome to the eighth article on beginning game development. We have spent a lot of time working with the graphics capabilities of DirectX. We also covered how the DirectX API allows us to control input devices. Now we are going to look at another facet of DirectX, the ability to control sound devices. This capability is found in the DirectSound and AudioVideoPlayback namespaces. Sound in Games Sound creates an ambiance in a game that provides for a more immersive game experience. Sound effects also provide the same audible cues we expect in real life, such as the direction and speed of a person approaching us based on the volume, direction, and frequency of the footsteps. In BattleTank2005 I want to integrate sound in the following way. Secondly, I want to be able to play background music during game play and I want to control what music plays when in the game. DirectSound The DirectSound namespace only supports playing 2 channel waveform audio data at fixed sampling rates (PCM).

Device. Making Complex Selections in Photoshop. Nice and Free CSS Templates - StumbleUpon. CSS Cheat Sheet - StumbleUpon. The Basics of C Programming".

The previous discussion becomes a little clearer if you understand how memory addresses work in a computer's hardware. If you have not read it already, now would be a good time to read How Bits and Bytes Work to fully understand bits, bytes and words. All computers have memory, also known as RAM (random access memory). For example, your computer might have 16 or 32 or 64 megabytes of RAM installed right now. RAM holds the programs that your computer is currently running along with the data they are currently manipulating (their variables and data structures). Memory can be thought of simply as an array of bytes. In this array, every memory location has its own address -- the address of the first byte is 0, followed by 1, 2, 3, and so on.

Float f; This statement says, "Declare a location named f that can hold one floating point value. " While you think of the variable f, the computer thinks of a specific address in memory (for example, 248,440). F = 3.14; s:t 1:5 2:2 3:3 4:4 5:5 u = 5. CSS Basics - StumbleUpon.