taskRole Playing Game Engine - Tasks: task #8058, 0.0.2:Create Tilegrid/Map API and...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #8058: 0.0.2:Create Tilegrid/Map API and file formats, implement image GC.

Submitter:  Remco Bras <rvbras>
Submitted:  Sun 20 Apr 2008 07:23:37 PM UTC
   
 
Should Start On:  Sat 19 Apr 2008 10:00:00 PM UTC Should be Finished on:  Sat 19 Apr 2008 10:00:00 PM UTC
Category:  C Core Priority:  5 - Normal
Status:  Postponed Privacy:  Public
Assigned to:  rvbras Percent Complete:  30%
Open/Closed:  Open Effort:  0.00

Mon 19 May 2008 05:21:52 PM UTC, comment #2: 

There's still no tilegrid/map API, but the image GC is done and the primitives needed are largely complete.

Remco Bras <rvbras>
Group administrator
Thu 15 May 2008 09:09:27 AM UTC, comment #1: 

Minor update: By guesstimate the status of this is 'roughly 30% complete'.

Insofar as dynamic loading of tilegrids and things like that are concerned, I wonder if offering specific strategies of preloading should be done at all. Doing so has its advantages, but should probably be both optional and scheme-level.

Since preloading is trading memory for some more speed, it may be useless on machines with low amounts of physical memory.

Remco Bras <rvbras>
Group administrator
Sun 20 Apr 2008 07:23:37 PM UTC, original submission:  

We need a way to deal with 'maps', 'areas' or any other concept that basically comes down to having different portions of games with their own tilegrids and tiles, mobs etc on those.

First, the C core needs a concept of multiple tilegrids.

Second, the Scheme system needs a way to manage these, preferably also using 'tile types' and knowing which images are used exactly what amount of times on what tilegrids. This ties into the GC system for images and needs quite a bit of overhaul in the tilegrid system to work. However, it's a feature we quite desperately need to add one way or the other. Personally, I'd prefer the GC-related stuff being in the C core ONLY, which requires that tiletypes do not, under ANY circumstance, optimize by preloading images. Currently, that is done and the C core isolates itself against being forced to divulge its image indices.

Third, with this done, a Scheme system needs a concept of a 'world', which is a combination of tilegrids linking to each other, such that it also knows when to load or unload which tilegrids, populate them with mobs and so on.

On the tilegrid management side, I have a prototype lying around, which is just something I threw together in Scheme. It still needs proper management of the different grids and proper per-grid GC'ing.

Remco Bras <rvbras>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rvbras (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-08-26 rvbras SummaryCreate Tilegrid/Map API and file formats, implement image GC. 0.0.2:Create Tilegrid/Map API and file formats, implement image GC.
    2008-05-19 rvbras StatusIn Progress Postponed
    2008-05-15 rvbras CategoryNone C Core
        StatusNone In Progress
        Percent Complete0% 30%

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code