|
|
|
|||||||
| Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Jr. Zuner
Join Date: Aug 2007
Posts: 32
Reputation: 12
Donate |
It's been mentioned in passing in some other threads, but as we move along from the initial CTP release I have a feeling more and more people are going to come looking for some sort of RPG engine/framework. As such I thought it'd be useful if we had one place to collect useful tips, code snippets, and conceptual design ideas on the subject.
To get us started, I'd like to pose two questions to the dev community: 1. Have you been able to write XML save-data to the Zune? 2. Does anyone have any personal experience they can relate regarding the Zune's in-game memory management performance?
__________________
"Some things I do for money, some things I do for free." |
|
|
|
| Remove Advertisements Sponsored Links | |
Advertisement |
|
|
|
#2 (permalink) |
|
Experienced Zuner
Join Date: May 2008
Posts: 109
Reputation: 22
Donate |
1. Yes. Use Microsoft.Xna.Framework.GamerServices.Guide.BeginS howStorageDeviceSelector to get a storage device. Then do MyStorageDevice.Create("My Game Title"); This returns a StorageContainer. You can then do File.Create(Path.Combine(MyStorageContainer.Path, "myfile.xml")); and from there it is smooth sailing.
2. It is very good until you hit the limit. Once you hit the limit and the device has to do a garbage collection you will notice a slow down. This happens a lot while I am developing. It is important that you coders clean up after every Texture2D, SoundEffect, etc object you have.
__________________
John Sedlak Microsoft Xna / DirectX MVP To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. |
|
|
|
|
|
#5 (permalink) |
|
Graduate Zuner
|
I don't think so... it's probably like 16meg... but I think it's reasonable... I'm used to using only 24KB for RAM so... 16 MB now that's a lot of space...
__________________
i'd like to say.... deal w/ it.... don't complain.... liz swings the ban hammer at me and like an idiotic fish i fly back w/ a grape cannon in my right flipper.... ----------------------------------------------------- Pokemon be coming to your Zune plz... don't yell at me for slowness... the game took a team of like 100 ppl like 5 years.. and I'm one guy...
|
|
|
|
|
|
#6 (permalink) |
|
Jr. Member
Join Date: May 2008
Location: Seattle, WA
Posts: 336
Reputation: 49
Donate |
You have 16MB for RAM memory; there is no set limit (besides the size of your drive) for data you save to the disk.
__________________
Nick Gravelyn Microsoft MVP - DirectX/XNA To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
|
|
|
|
|
|
#7 (permalink) |
|
Jr. Zuner
Join Date: Aug 2007
Posts: 32
Reputation: 12
Donate |
Before we get any more of these questions/statements, let me just clarify once and for all:
The Zune is limited to 16Mb of RAM. This is not the same as hdd space. It is not used for the same thing. Please stop making statements to the effect of "OMG z00ne only has 16mB spaces 4 ur gamez11$!." If you need to ask the question, you need to Google it first. Then, when you have something less inane to ask (and since this is a Dev forum that is a stupid question), please feel free to ask the community. Also, this is not specifically directed at 133794m3r - I've noticed numerous people making the same kind of statements around here.
__________________
"Some things I do for money, some things I do for free." |
|
|
|
![]() |
| Thread Tools | |
|
|
| |