Wazoo Enterprises

Having fun in game development!

Archive for the ‘peon-sdk’


Basic SoundFx

Purpose

No matter what the game you’re making, the use of sound is essential. A popular sound library for the SDL family is SDL_Mixer. It’s an easy-to-use sound package which can handle many audio file formats. A popular one is the “WAVE” format introduced by Windows. Here’s how to play them with SDL_Mixer and the PeonSDK.

Downloads

The project files are available here: PeonSDK-BasicSoundFx

BasicMusic

Purpose

Before the MPEG3 or OGG music formats took off, most music data was rather large and expensive to distribute. As such, one popular music format was the MIDI format and wasn’t really audio binary data per se, but a sequence of instructions for the audio hardware to play/emulate. Massive songs could only take a few k of disk space, so this format was/is extremely popular.

Downloads

The project files are available here: PeonSDK-BasicMusic

BasicJoystick

Purpose

This sample is all about reading/querying the joystick for your games. Demonstrates how to poll the joystick using SDL.

Downloads

The project files are available here: PeonSDK-BasicJoystick

BasicMouse

Purpose

This sample is all about how to read the position and button information from your mouse. Displays the current mouse coordinates along with an “RMB” or “LMB” if the mouse button is pressed.

Downloads

The project files are available here: PeonSDK-BasicMouse

BasicKeyboard

Purpose

This sample is all about the reading of the keyboard. Displays the scan code of each key pressed.

Downloads

The project files are available here: PeonSDK-BasicKeyboard