Ariadne has various data created in run time. In this page, I wrote how Ariadne managements those data.

Data Management

PlayerPosition

PlayerPosition is a static class to store information about the player position.

Managing data

Field

Description

playerPos

Current position of the player.

playerPosPre

Previous position of the player.

direction

Current direction of the player.

currentDungeonId

Dungeon ID that player is exploring.

currentFloorId

Floor ID that player is exploring.

ItemManager

ItemManager is a static class to management ItemData. ItemManager stores the dictionary of holding items. And ItemManager has methods for checking event conditions for items and money.

Managing data

Field

Description

holdItemDict

The dictionary for item IDs and values.

moneyAmount of money the player has.

FlagManager

FlagManager is a static class to management event flags. This class stores the dictionary of executed flags in EventParts. And FlagManager has methods for checking conditions of event flags.

Managing data

Field

Description

eventFlagDict

The dictionary for event executed flags and these states.

TraverseManager

TraverseManager is a static class to management traverse data. The traverse data stores whether the player traversed the position or not. Ariadne identifies the traverse data by dungeon id, floor id and the position on the floor.

MapHall object in the scene uses traverse data to draw a map.

Managing data

Field

Description

traverseList

The list of TraverseData.

TraverseData

Field

Description

dungeonId

ID of the dungeon.

traverseDict

The dictionary of traverse data.

The key string is generated by floor ID and the position.

About Ariadne

Let’s see also the introduction page of Ariadne!

Ariadne title

Ariadne – 3D Dungeon Maker” boosts your development for First-person party-based dungeon crawler games.


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *