FBA The Creator

The True Multiplatform PC / PocketPC Opensource Development Tool - Read Only Mode - Kept only for historical purposes - Thank you all ;)
It is currently Thu Jun 04, 2026 3:51 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Question regarding Grids
PostPosted: Wed Apr 02, 2008 2:36 am 
Offline

Joined: Tue Apr 01, 2008 4:23 am
Posts: 36
I got a question regarding Grids,

Is the entire image created (ie a bmp with x*width and y*height)
when creategrid is called?

My concern is memory issues with very large grids.


Top
   
PostPosted: Wed Apr 02, 2008 7:53 am 
Offline
FBA Administrator
FBA Administrator
User avatar

Joined: Fri Mar 21, 2008 11:19 pm
Posts: 238
Location: Rome - Italy
Of course it isn't :)

Gamegrid works with tiles so memory used by gamegrid object is very small.

Of course you have to check the size of image associated to a gamegrid :)
The general rule to calculate memory requirements for an image is: width * height * 2


Top
   
PostPosted: Sat Apr 05, 2008 8:00 am 
Offline

Joined: Tue Apr 01, 2008 4:23 am
Posts: 36
awesome :D


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited