Skip to content

Create static assets - map data #25

@SebastianJay

Description

@SebastianJay

Related to #19 -- create YAML files that map area id to title, location on world map, and room id (room player is directed to when entering that tile), as well as room id to title, short description, location on in-game map, neighbor information (map direction, and room id of neighbor), and list of object ids for what is in the room.


Example of area mappings:

  • far
    • title: Farm
    • x: 2
    • y: 3
    • room: farEntrance

(note: x and y mean that world map location of Farm is (2, 3))


Example of room mappings:

  • farEntrance
    • title: Farm Entrance
    • description: A dusty trail that connects the cornfields to the rest of civilization.
    • x: 20
    • y: 15 (in-game map location)
    • neighbors:
      • direction: N, roomId: farCornmaze
      • direction: E, roomId: farShed
    • objects:
      • farOldSignPost
      • farRustySwing
      • farGrassPatches
  • farCornmaze
    • title: Corn Maze
    • ...and so on

(note: x and y mean that in-game map location of Farm Entrance is (20, 15))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions