Creating a game using C++, OpenGL and Qt

12,498 views

Published on

A short presentation I did at work showing a game I am making in my spare time. Most of this presentation is about the tools and techniques. The game itself is located on Sourceforge. Is still under development.

Regards,
Jostein Topland

Published in: Technology, Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
12,498
On SlideShare
0
From Embeds
0
Number of Embeds
70
Actions
Shares
0
Downloads
106
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Creating a game using C++, OpenGL and Qt

  1. 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. 2. Adventures of Lolo 1 http://www.youtube.com/watch?v=_Zz5Pnk1Usc
  3. 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. 4. Graphics (animation) 2/2 Using OpenGL Display List 1st frame = mesh, materials, etc [2, *]nd frame = transformation
  5. 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. 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. 7. Music (tracking) 3/4 Sample list add sounds edit sounds (looping) Pattern editor Notes volume effects (chip-tune arpeggio) commands...
  8. 8. Music (Songs) 4/4 Song Pattern arrangment Command Jump to song position
  9. 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. 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. 11. 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.
  12. 12. Eggerland (Title screen) 1/7
  13. 13. Eggerland (In-game) 2/7
  14. 14. Eggerland (Environment) 3/7 - Mountain - Winter - Beach
  15. 15. Eggerland (Water) 4/7 Perlin Noise Using 2 octaves Very realistic!
  16. 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. 17. Eggerland (Editor music) 6/7 Using SDL_mixer with mikmod Using XML to store misc data
  18. 18. Eggerland (Demo) 7/7 ...

×