Lets say that I never had saved anything befor, to beginn with.
So I was complet on the edge of my knowledg when I first thought of saving the editor and its values. I first tryed to get some infos about that out of the 'How do I' files from C# Express. It only contained a hint on how it works, ... for the 360 ...
My next try was the internet. But unlike all the other problems I've got earlyer, ther was no working standard solution for this (WTF?).
... So I did that what I actually do every day, but not to get support for something. ... I've writen something in a online community.
Fortunalty there where some nice programmer gurus, who know exactly how to do this and that.
A few hours later (I start to get lazy ... don't work that much in holidays ... that sucks ...), I got the first 'Hello.mad' file on my PC saying 'Hello World'.
... aint it nice? ... To have his own file format? :D ...
Today I started to connect the Editor values with the save file method. ... It worked ... till I pressed the button saying 'Save ... ' ... the programm crashed ... :D
Now a few hours, a round Crackdown, to come down and a lunch later, I finaly figured out that the XmlSerializer, I'm using to save the file, dose not support the Model Class from Xna ... Bastard.
Genious as I am, I already came up with a ways to solve that problem, ... it may take a while till I changed to whole save code to work without the Model class (I'll save the path of the model files), but its a light at the end of the tunnel, and normaly those lights are not from a train :D
Greg the Mad
Saturday, March 22, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment