|
  
|
|
|||||||
| 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) |
|
Zuner
Join Date: Nov 2007
Posts: 56
Reputation: 11
|
First off, yes, SimReality, you do see some of the code from AA in there. I'm still a noob at the whole game component thing so I've been usin your state manager and menus. I plan on completely rewriting most of the code when I actually have most of the thing running right though, so I'm not tryin to pass your work off as mine.
Also, I don't know too much about resource management so I might be a little off about my diagnosis, but here it goes. This is a little project I've been workin on for maybe two or three weeks now. I got a lot of work down on it over the past week and things are startin to come together. Problem is, it's started actin up on me. The whole thing runs smooth until you try to end the game at which point, sometimes it will hang and you have to hard reset it. Also, sometimes, when I run it from Visual Studio after deploying it, as opposed to just running it on the Zune while it's unplugged, it will pop up with an OutOfMemory exception or something like that. There is no way I am using all 16mb on this thing, or even close so I'm thinking I'm not disposing of something correctly or I'm doing something else wrong. I can't pinpoint the source of the problem either, but I think it is probably lurking somewhere in either Dialog.cs or MapGameState.cs. It wasn't doing it before I made a few changes to those. Any help would be greatly appreciated as an unstable game isn't much better than no game at all. Here's a rar: http://cid-168f84f535deaf6d.skydrive...20Test%201.rar Sorry, I've found no way to consistently reproduce the error, I'm just hopin someone will spot some obvious coding issue that I don't know about. PS:My touchpad is kinda fubar. It likes to hold down(dpad down, it's physically in the correct position) for no reason and not read my dpad clicks sometimes and for that reason, this game is run through touches rather than presses so no 30's allowed, sorry. Edit: Wow, I feel like a genius. Yeah, it would, in fact, be a good idea to post the code too. Doh. Edit 2: Yeah, it takes a second to deploy the first time, I've got a half a kb pic for each of the 151 buggers in there. Edit 3: Pasteall Pages: MapGameState.cs Dialog.cs Sorry, never heard of pasteall before now, but thanks for the tip. Last edited by yeloshu : 06-16-2008 at 11:53 AM. ![]() |
|
|
|
|
|
#3 (permalink) |
|
Jr. Member
Join Date: May 2008
Posts: 410
Reputation: 60
|
How about instead of linking the whole project, why not go to a site like PasteAll.org and just put up the code you think is the problem? Then I (along with everyone else) don't have to download and sort through all sorts of stuff to try and help you.
|
|
|
|
![]() |
| Thread Tools | |
|
|
| |