|
-
Mar 13th, 2011, 02:44 PM
#1
possible to serialize a multi-dimensional array?
I"m about to start on a game tile designer, and i was wondering if this is possible.
If not, i can make do with a single-dimension array, however the array would have to be an array of a custom structure.
struct LandTile
i
{nt Damage;
int Movement;
int IndexNum; //reference an image
}
Will this work, or should i rethink it? I've never serialized anything before. This is a .net learning curve for me.
-
Mar 13th, 2011, 03:30 PM
#2
Re: possible to serialize a multi-dimensional array?
In C# you can serialize nearly everything (search on google for C# serialize object)
-
Mar 13th, 2011, 03:34 PM
#3
Re: possible to serialize a multi-dimensional array?
i was concerned because i've read information that you can only serialize single-dimension ones. I wasn't sure if making it an array of structs mattered.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|