Click here to Skip to main content
14,826,846 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone

We are working on a project with C# and XNA framework. XNA has lots of classes for game programming, but it has some classes that they aren't serializable. For example, We import and process our 3d-objects with XNA and want to save and load the processed objects at run time. I tried with XMLformatter and Binaryformatter to serialize my XNA objects, but they won't. Anyway, We want to serialize or convert our objects to byteArray and I need your help.. please

B.jedari
Posted

1 solution

You could simply use this serializable adapter:

http://www.vajhoej.dk/arne/eksperten/ser/ser.cs[^]

http://www.vajhoej.dk/arne/eksperten/ser/ser2.cs[^]

Good luck!
   
Comments
Dalek Dave 5-Nov-10 11:22am
   
Good Links.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900