Game Development

TwitterFacebook
Get flash to fully experience Pearltrees

C++ FAQ

Recent changes - 11 changed FAQs. In a list , or in a chain , or here: [4.1] , [4.2] , [6.3] , [6.12] , [10.3] , [15.22] , [27.15] , [35.13] , [35.14] , [35.15] , [39.6] . Translated into 16 languages. English , Belorussian / Minsk , Bosnian / Serbian / Croatian , Bulgarian , Chinese (GB, Mainland) , Chinese (Big5, Taiwan) , French , German , Greek , Korean , Polish , Portuguese , Romanian , Russian , Spanish , Turkish . Mirrored in 11 countries. http://www.parashift.com/c++-faq-lite/index.html#search-the-faq
From GPWiki Howdy folks! This tutorial will build on what we've already learned in the Playing a WAV Sound File tutorial, so be sure you've read it! SDL_mixer can be used for more than just sound effects; Music files such as MP3s and Oggs can also be played, with nifty fading effects, end-of-song callbacks, and more.

SDL mixer:Tutorials:Playing an OGG Music File

http://content.gpwiki.org/index.php/SDL_mixer%3aTutorials%3aPlaying_an_OGG_Music_File
http://www.cplusplus.com/doc/tutorial/files/

Input/Output with files

C++ provides the following classes to perform output and input of characters to/from files: ofstream: Stream class to write on files ifstream: Stream class to read from files fstream: Stream class to both read and write from/to files. These classes are derived directly or indirectly from the classes istream , and ostream . We have already used objects whose types were these classes: cin is an object of class istream and cout is an object of class ostream . Therefore, we have already been using classes that are related to our file streams. And in fact, we can use our file streams the same way we are already used to use cin and cout , with the only difference that we have to associate these streams with physical files. Let's see an example:
This little program converts your picture to ASCII text art - a jumble of letters, numbers and symbols that do not appear to have any significance until you step back and look at the whole picture. It has no practical purpose, other than the neat factor. ASCII Art has a long history among geeks. One of the first things I printed on my Commodore 128 in the mid 80's was an ASCII rendition of Spock. I remember waiting for what seemed like hours as my 8-pin printer slowly inked it out. http://www.glassgiant.com/ascii/

ASCII Art Generator - Make your picture into text

Part I – Introduction Welcome to the first article of an introductory series on game programming using the Microsoft .NET Framework and managed DirectX 9.0. This series as aimed at beginning programmers who are interested in developing a game for their own use with the .NET Framework and DirectX. The goal of this series is to have fun creating a game and learn game development and DirectX along the way. Game programming and DirectX have their own terms and definitions that can be difficult to understand, but after awhile, you’ll crack the code and be able to explore a new world of possibilities. I will keep things as straightforward as possible and decode terms as they appear. http://channel9.msdn.com/coding4fun/articles/Beginning-Game-Development-Part-I--Introduction

Beginning Game Development: Part I – Introduction | Coding4Fun Articles

http://www.devhardware.com/forums/programming-82/making-a-rpg-in-c-101650.html

Making a RPG in C++ - Dev Hardware

For reference though Quantum - and I do appreciate the concern - I have made games. I even took a game programming class for C++ - though it was all basics. I made a MUD based on the minesweeper/minefield idea. Still needs a few more features that I was going to add - but its a fairly good game.
http://www.opussoftware.com/tutorial/TutMakefile.htm Make reads its instructions from text files. An initialization file is read first, followed by the makefile. The initialization file holds instructions for all “makes” and is used to customize the operation of Make. Make automatically reads the initialization file whenever it starts up. Typically the initialization file is named make.ini and it resides in the directory of make.exe and mkmf.exe .

Tutorial - Makefile

Online Ascii Art Generator

http://www.squidoo.com/online-ascii-art-generator Hello ````````````_`_`````````_` ``/\``/\___|`|`|`___```/`\ `/`/_/`/`_`\`|`|/`_`\`/``/ /`__``/``__/`|`|`(_)`/\_/` \/`/_/`\___|_|_|\___/\/``` `````````````````````````` Heart __00000___00000_ _00000000_0000000_ _0000000000000000_ __00000000000000_ ____00000000000_ _______00000_ _________0_ ________*_ _______*_ ______*_ ______*_ _______*_ ________*_ _________*_ Bunny (\ /) ( . .)p c(")(")