The Daily Click ::. Forums ::. Klik Coding Help ::. MMF2 Ram usage question
 

Post Reply  Post Oekaki 
 

Posted By Message

Jeff Stark



Registered
  15/09/2012 22:50:18
Points
  2
22nd December, 2012 at 22/12/2012 00:57:46 -

I apologize if this should be in general chat, I wasn't sure. I've been working on a larger game than I have done in the past. I am about 9 months in and finishing the first level frame. Things are going well but I was just wondering what type of ram usage I should expect to see. It is using around 140 mb.

The frame has 120 or so objects, 45 of which are small weapons for the character.
The virtual frame width and height are 12000x4000 (I might be able to cut some height off later.)
I have tiled any backgrounds that I think I can.
I've made the weapons and any effects that go with them load on call.
I have used groups when I could find ways to do it to try and limit my coding.

Does 140mg seems appropriate? Any other ideas on saving memory are appreciated. I know tiling the background saves memory. Does using groups save memory at all or is it just for convenience in coding? Thanks for any experienced insights.

 
Jeff

columbo borgi :C



Registered
  07/12/2003
Points
  296

VIP Member
30th December, 2012 at 30/12/2012 00:04:34 -

im not sure if its appropriate, but i'd say: probably yes.

and i am not sure about your desired system requiements, most computers today can handle that much ram usage.
so this should not be a problem.

 
:C

s-m-r

Slow-Motion Riot

Registered
  04/06/2006
Points
  1078

Candle
31st December, 2012 at 31/12/2012 04:39:30 -

I agree with borgi on this one. Have you noticed any kind of slowdown in performance at all yet in your own work on the game?

If you're really concerned about performance, then I recommend you do the following:
- give advance copies to friends and acquaintances of yours, and have them do 'gold master testing' for you. Take a note of any machines that seem to have performance-related issues. The more diverse rigs you can have as part of your gold master testing, the better.
- make a note in the readme file for your game, and indicate system requirements. Note that you tested it on a number of different machines, and that folks may experience a little slowdown in some areas. Recommend that people not have multiple applications running while playing the game, and that they update all their system component drivers (definitely video card, but also sound card and other upgradeable hardware).

This is essentially "quality assurance" or QA testing, and if you're serious about this, then rigor and thoroughness will be called for. Of course, it seems to me like RAM usage won't be so demanding, from what you've mentioned. The basics of driver updates and avoiding multitasking are pretty much standard, anyway.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click