Making a game: Eggerland 3D
Motivation
- Gain more experience with C/C++, Qt, OpenGL, etc.
- Complete my first game using graphics, music and code
- To have fun @:)


What to show
- What is Adventures of Lolo?
- Neat tools to make a game
Adventures of Lolo 1




      http://www.youtube.com/watch?v=_Zz5Pnk1Usc
Graphics (3D models) 1/2
                   Lib3ds
                   + GPL
                   + Reads 3DS v3 and v4
                   + Animation
                   + Easy editing with 3ds Max

                   + Small in file size (~80kB)
                   - No morph support for animation

                   - 3DS is an old format (DOS, 8.3)
Graphics (animation) 2/2
                Using OpenGL Display List
                1st frame = mesh, materials, etc

                [2, *]nd frame = transformation
Music (trackers) 1/4
           Sound Tracker (Amiga, 80's, commercial)

               Fast Tracker (PC, 90's, free)

                     Renoise (PC/Mac/Linux, 00's, “free”)
Music (Schism Tracker) 2/4
                   GPL license

                   Written in SDL (works for many OS's)

                   Supports MANY module formats

                   Familiar interface (Impulse/Scream Tracker)



                   Tracker format (Module)

                   Sounds exactly the same on all players

                   Long tunes can be very small in file size!
Music (tracking) 3/4
                               Sample list

                               add sounds

                               edit sounds (looping)




Pattern editor

Notes

volume

effects (chip-tune arpeggio)

commands...
Music (Songs) 4/4
                        Song

                        Pattern arrangment




Command

Jump to song position
SDL 1/3

●   First released in '98. (stable is 1.2.14)
●   GPL
●   Crossplatform (Win32, OSX, Linux, PSP, etc.)
●   Manages video, events, sound, threads,
    networking, timers etc.
●   Very small in file size!
SDL (“standard” libraries) 2/3
SDL (~300 kb)
 Main library (BMP, WAV, etc.)
SDL_mixer (~150 kb + mikmod(~200kb) + etc.)
 MP3/OGG, modules, MIDI (software wavetable)
SDL_image (~40kB + jpeg(~100kB) + etc.)
 JPG, GIF, PNG etc.
SDL_ttf (~20 kB)
 TrueType font support
SDL (examples) 3/3
Game engines
 ScummVM, DOSBox, ZSNES, etc.
Games
 OpenTTD, Frozen Bubble, World of Goo, etc.
Games (Linux only)
 Doom 3, Sim City 3000, etc.
Eggerland (Title screen) 1/7
Eggerland (In-game) 2/7
Eggerland (Environment) 3/7
                       - Mountain
                       - Winter
                       - Beach
Eggerland (Water) 4/7
            Perlin Noise
            Using 2 octaves
            Very realistic!
Eggerland (Editor) 5/7
                     Using Qt

                     + Fast and easy to develop tools

                     + Easy to read/write data
                     (QDataStream)

                     - Qt is large in file size
Eggerland (Editor music) 6/7
Using SDL_mixer with mikmod



                              Using XML to store misc data
Eggerland (Demo) 7/7


         ...

Creating a game using C++, OpenGL and Qt

  • 1.
    Making a game:Eggerland 3D Motivation - Gain more experience with C/C++, Qt, OpenGL, etc. - Complete my first game using graphics, music and code - To have fun @:) What to show - What is Adventures of Lolo? - Neat tools to make a game
  • 2.
    Adventures of Lolo1 http://www.youtube.com/watch?v=_Zz5Pnk1Usc
  • 3.
    Graphics (3D models)1/2 Lib3ds + GPL + Reads 3DS v3 and v4 + Animation + Easy editing with 3ds Max + Small in file size (~80kB) - No morph support for animation - 3DS is an old format (DOS, 8.3)
  • 4.
    Graphics (animation) 2/2 Using OpenGL Display List 1st frame = mesh, materials, etc [2, *]nd frame = transformation
  • 5.
    Music (trackers) 1/4 Sound Tracker (Amiga, 80's, commercial) Fast Tracker (PC, 90's, free) Renoise (PC/Mac/Linux, 00's, “free”)
  • 6.
    Music (Schism Tracker)2/4 GPL license Written in SDL (works for many OS's) Supports MANY module formats Familiar interface (Impulse/Scream Tracker) Tracker format (Module) Sounds exactly the same on all players Long tunes can be very small in file size!
  • 7.
    Music (tracking) 3/4 Sample list add sounds edit sounds (looping) Pattern editor Notes volume effects (chip-tune arpeggio) commands...
  • 8.
    Music (Songs) 4/4 Song Pattern arrangment Command Jump to song position
  • 9.
    SDL 1/3 ● First released in '98. (stable is 1.2.14) ● GPL ● Crossplatform (Win32, OSX, Linux, PSP, etc.) ● Manages video, events, sound, threads, networking, timers etc. ● Very small in file size!
  • 10.
    SDL (“standard” libraries)2/3 SDL (~300 kb) Main library (BMP, WAV, etc.) SDL_mixer (~150 kb + mikmod(~200kb) + etc.) MP3/OGG, modules, MIDI (software wavetable) SDL_image (~40kB + jpeg(~100kB) + etc.) JPG, GIF, PNG etc. SDL_ttf (~20 kB) TrueType font support
  • 11.
    SDL (examples) 3/3 Gameengines ScummVM, DOSBox, ZSNES, etc. Games OpenTTD, Frozen Bubble, World of Goo, etc. Games (Linux only) Doom 3, Sim City 3000, etc.
  • 12.
  • 13.
  • 14.
    Eggerland (Environment) 3/7 - Mountain - Winter - Beach
  • 15.
    Eggerland (Water) 4/7 Perlin Noise Using 2 octaves Very realistic!
  • 16.
    Eggerland (Editor) 5/7 Using Qt + Fast and easy to develop tools + Easy to read/write data (QDataStream) - Qt is large in file size
  • 17.
    Eggerland (Editor music)6/7 Using SDL_mixer with mikmod Using XML to store misc data
  • 18.