Sponsors





Top Zune Sites
Microsoft Zune Player Top Site List
Top Zune Sites
Zune Cards

Go Back   Zune Boards > Zune Discussions > Zune Games > Development Discussions

Register Zunecentive FAQ Members List Calendar Search Today's Posts Mark Forums Read

Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related.

Reply
 
LinkBack Thread Tools
Old 05-12-2008, 10:44 AM   #1 (permalink)
Jr. Zuner
 
dstickst's Avatar
 
Join Date: Aug 2007
Posts: 32
Reputation: 12
$zB: 5
Donate
Arrow RPG Framework

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."



dstickst is offline   Reply With Quote
Remove Advertisements Sponsored Links
Advertisement
 
Old 05-12-2008, 12:43 PM   #2 (permalink)
Experienced Zuner
 
jsedlak's Avatar
 
Join Date: May 2008
Posts: 109
Reputation: 22
$zB: 92
Donate
Default

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.



jsedlak is offline   Reply With Quote
Old 05-13-2008, 11:23 AM   #3 (permalink)
Jr. Zuner
 
dstickst's Avatar
 
Join Date: Aug 2007
Posts: 32
Reputation: 12
$zB: 5
Donate
Default

Thanks for the tip on the XML data - very good to know.
__________________
"Some things I do for money, some things I do for free."



dstickst is offline   Reply With Quote
Old 05-13-2008, 03:10 PM   #4 (permalink)
Zewbie
 
Join Date: Apr 2008
Posts: 6
Reputation: 10
$zB: 6
Donate
Default

Is there a limit to the XML storage? Size wise of course.



hacker2021 is offline   Reply With Quote
Old 05-13-2008, 06:50 PM   #5 (permalink)
Graduate Zuner
 
133794m3r's Avatar
 
Join Date: Oct 2007
Location: On the interenet.
Posts: 1,480
Reputation: 32
Send a message via MSN to 133794m3r Send a message via Yahoo to 133794m3r Send a message via Skype™ to 133794m3r
$zB: 1554
Donate
Default

Quote:
Originally Posted by hacker2021 View Post
Is there a limit to the XML storage? Size wise of course.
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...



133794m3r is offline   Reply With Quote
Old 05-15-2008, 07:01 PM   #6 (permalink)
Jr. Member
 
SimReality's Avatar
 
Join Date: May 2008
Location: Seattle, WA
Posts: 336
Reputation: 49
$zB: 279
Donate
Default

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.



SimReality is offline   Reply With Quote
Old 05-16-2008, 08:03 AM   #7 (permalink)
Jr. Zuner
 
dstickst's Avatar
 
Join Date: Aug 2007
Posts: 32
Reputation: 12
$zB: 5
Donate
Default

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."



dstickst is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -8. The time now is 05:16 PM.

 
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC8
vB Ad Management by =RedTyger=
(C) ZuneBoards 2006-2007