- Electively serialize to/from XML or binary in C++
During development, it’s nice to have data in a structured, human-readable format which can be quickly edited with a text editor. For production, it’s often preferable to have a nice and tight format which saves space, is quickly to read and write and hides information from the users curious eyes. The tutorial shows a simple way to electively serialize to/from XML or binary in C++.
Projekt E was a tutorial for a horizontal space shooter I started while I was writing my diploma thesis back in 2003. (Yes, I actually prefered to write a tutorial.) The idea and artwork behind Projekt E is based on an unfinished sechsta sinn project; the entire tutorial code is written in C++ and uses SDL.
Please note that this tutorial is unfinished, no longer up-to-date and does not resemble my current code style. Moreover, it’s in German.
- Teil 1: Einführung und Vorbereitungen
- Teil 2: Das erste SDL Programm
- Teil 3: Eine Debug-Hilfe
- Teil 4: Managing A Game I
- Teil 5: Managing A Game II
- Teil 6: Und Action
- Teil 7: Tastaturabfrage
- Teil 8: Der Gleiter des Spielers
- Teil 9: Fehlerbehandlung
- Teil 10: Geordnetes Chaos I
- Teil 11: Geordnetes Chaos II
- Teil 12: Feindkontakt
- Teil 13: Resource Preloading
- Teil 14: Tiefensortierung
- Teil 15: Kollisionsabfrage
Ich finde die Projekt E Tutorial-Reihe großartig.
Kannst du vielleicht mal eine kleine “Fortsetzung” schreiben? Mich interessiert insbesondere die Design Patterns und allgemein das OO-Design das du sonst so benutzt um eine komplexe Engine(wie die DVW z.B.) übersichtlich und wartbar zu halten.
Jedenfalls vielen Dank für die Tutorials!