ModusCreateOrg / ModusCreateOrg/creative-engine

BMapPlayfield save state

Offen
#171 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@mschwartz arbeitet bereits daran.

Seit 02.8.2019.

Vorherrschende Sprache
C
Sterne
20
Forks
7
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Currently, BMapPlayfield loads its data as described in the "tilemap".files.txt file. The attributes and tile indexes are combined so the attributes (code, "wall" bits) into TUint32 per position in the map.

This allows the game logic to fiddle with the attribute bits, or modify the map (e.g. playfield animation), while being able to reload the map and have none of those changes made.

In a game like modite-adventure, you may want to enter a dungeon and then exit, and then enter it again. You probably want the dungeon state to be the same as when you left it.

In order to persist the dungeon state, the BMapPlayfield class needs to be able to save its state to persistent storage (e.g. file system in flash), and then be able to load from the persisted data.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.