A complete game from scratch in C++ using SFML
Author |
Message |
Serapth
|
Posted: Thu Jan 12, 2012 1:42 pm Post subject: A complete game from scratch in C++ using SFML |
|
|
This series of tutorials ( 10 chapters and counting! ) covers the process of creating a complete game from scratch using C++ and SFML. It assumes the reader has some basic experience in C++ ( reading the first couple chapters in a book, or running through a few other tutorials should be sufficient ). It uses modern C++ and is organized in the way you might create a real application instead of as a throw away sample.
Along the way it introduces a number of concepts like configuring your environment, exception handling, inheritance, encapsulation, STL, templates, casting, design patterns and various other common concepts. Each chapter builds on the last and attempts to illustrate concepts as you would use them in the real world, as opposed to using abstract examples that make very little sense. The game aspects include using a state driven design, menu support, sound animation, collision detection a rudimentary scene graph and more.
When it is finally complete ( it still isn't quite there yet ), you will have created your very own, grossly over-engineered version of Pong!
The tutorial assumes ( and covers ) using Visual Studio Express, however it has been successfully compiled on Mac OS and Linux with minimal changes. If you are not using Visual Studio, you can skip straight ahead to Part 2 which is where the coding starts.
Any and all feedback appreciated, hope you find this tutorial useful. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Smikaesen
|
Posted: Wed May 02, 2018 4:32 am Post subject: RE:A complete game from scratch in C++ using SFML |
|
|
I'll read it carefully and put it to use. |
|
|
|
|
|
Savnisharma
|
Posted: Sun May 19, 2019 11:45 pm Post subject: RE:A complete game from scratch in C++ using SFML |
|
|
Excellent post..I will read it carefully...I got valuable information here..Thanks for such an excellent thread! Keep up the great work! |
|
|
|
|
|
|
|