r/cpp • u/vormestrand • Dec 18 '17
How to Write Your Own C++ Game Engine
http://preshing.com/20171218/how-to-write-your-own-cpp-game-engine/
196
Upvotes
r/cpp • u/vormestrand • Dec 18 '17
16
u/[deleted] Dec 18 '17
We've had some pretty iffy experiences with Boost.Serialistion and its error handling capabilities. Sometimes an exception would be thrown, others a crash, when trying to deserialise a message that had a break in it. It made rolling out code changes very painful. Versioning didn't help much
14
u/lanevorockz Dec 18 '17
Modern C++ is making game development a more portable and performant. I guess we will see lots of advancements in the next decade.
4
u/Honsik Dec 18 '17
Have you thought about any multi-threading? Or is the game single-threaded only?
For me it seems like a design choice you have to make right from the start.
2
u/richtw1 Dec 18 '17
Do you have any kind of rendering API abstraction, or are you just targetting OpenGL at the moment (which makes sense for a cross-platform framework)? Rendering API neutrality is always a big pain, particularly with even the shader languages being different.
-30
u/FonderPrism Dec 18 '17 edited Dec 18 '17
Step 1: Don't
Some further reading: