ModusCreateOrg / ModusCreateOrg/creative-engine

BMapPlayfield save state

Đang mở
#171 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@mschwartz đang làm issue này rồi.

Từ ngày 2/8/2019.

Ngôn ngữ chính
C
Star
20
Fork
7
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.