Skip to content

Level Builder Design

smeye584 edited this page Apr 9, 2022 · 17 revisions

The Level building implements a model/view design with a binary format for a save file. the View portion includes classes that represent custom ImageViews and Panes, and the Model portion contains classes such as a singleton class that manages the model, a current level data cache, a custom save-loader class, and any classes related to objects within the level.

The primary model classes include:

DataManager (main)

CCFileReader

DataCache

LocalArea

Object (and Entity, Item, etc)

(Note: difficulties with adding my files have arisen, may not be fixed by 4/9)

Current Save File Design

Level global data
Screens
  Background
  Items
    coords
  Entities
    coords 
  randomlyPlaced
  Object
    coords
  Misc

Clone this wiki locally