SFML community forums

Help => General => Topic started by: .S0ulSeller on July 23, 2015, 01:33:49 pm

Title: Create own game - Design/Architecture
Post by: .S0ulSeller on July 23, 2015, 01:33:49 pm
Heiho community,
I am currently planing on making an own game. I have a couple of years experience with C++, C# and Java and have been working recently a lot with OpenGL. I feel ready to make an own game, eventhough it won't be an AAA-title - for sure. :D But before jumping into the programming part i want to think about how i want to structure my project and according to that, my code. I have checked your tutorials and i found this one: https://github.com/SFML/SFML/wiki/Tutorial:-Basic-Game-Engine that's basically exactly what i am looking for except the fact that the GQE source is few years old and that i prefer to make everything by myself, eventhough it won't be as good as the public one. (Don't ask me why i use SFML, i just like it :p)

So my question is now the following:
Is it okay to use GQE and "update"and learn the code? Or is there a way to make my own architecture as a newb on this topic?

Very important:
I want to make a GAME, not an ENGINE. Just to point that out :p

I'd also appreciate it if some experienced guy is willed to add me on Skype,Facebook just to help me according to Architecture. (maybe with little code examples? But don't get me wrong, i don't want complete code, i want to code by myself, i just need some theoretical help.)

So i hope you basically got what my problem is and i am looking forward to your answers, thanks :)
Title: Re: Create own game - Design/Architecture
Post by: eXpl0it3r on August 01, 2015, 09:29:44 pm
I've learned a lot from the guy behind GQE in the early days, however by now the GQE seems too extensive and not as clean to me as it used to. His tutorials on the wiki are however still very good resources for certain topics.

For a start I think all you need a simple state machine and a few resource holders/"managers". From that you can start building a game and create other architectural classes/structures if you see the need for them.

I'd also appreciate it if some experienced guy is willed to add me on Skype,Facebook just to help me according to Architecture. (maybe with little code examples? But don't get me wrong, i don't want complete code, i want to code by myself, i just need some theoretical help.)
Join us on IRC (http://www.sfml-dev.org/community.php) and you'll have always a bunch of people to talk to and who are willing to help you out with questions. ;)
Title: Re: Create own game - Design/Architecture
Post by: Nexus on August 02, 2015, 09:57:30 am
http://gameprogrammingpatterns.com/ is also a great resource.

The question is, do you even need an engine from the beginning? I don't know about GQE, but usually, a lot of game engines are tailored to specific games... especially the SFML-based engines have usually been developed for a SFML game, and then shared with the community -- as opposed to conceived from the ground up for different needs.

Maybe you could start just with SFML and some of its extension libraries (Thor, LTBL2, SFGUI, ...). That should already give you a lot of functionality to start with :)
Title: Re: Create own game - Design/Architecture
Post by: .S0ulSeller on August 11, 2015, 05:54:28 pm
Thank you a lot guys, i will have a look at it. :)

€: Can you recommend this Book? https://www.packtpub.com/game-development/sfml-game-development

All i need is just a starting point according to architecture... :/
Title: Re: Create own game - Design/Architecture
Post by: Jesper Juhl on August 11, 2015, 06:02:16 pm
This link seems relevant here: http://www.geometrian.com/programming/tutorials/write-games-not-engines/index.php
Title: Re: Create own game - Design/Architecture
Post by: eXpl0it3r on August 11, 2015, 06:17:14 pm
€: Can you recommend this Book? https://www.packtpub.com/game-development/sfml-game-development
Yes, I can and do recommend it. ;)

It's a very good starting point and has been written by community members with modern C++11 in mind.
Title: Re: Create own game - Design/Architecture
Post by: Jesper Juhl on August 11, 2015, 06:23:41 pm
I'm 100% with eXpl0it3r on the book recommendation. It's very good and you should buy/read it now! :)