tilegame - eisclimber/ExPresS-XR GitHub Wiki

ExPresSXR.Minigames.TileGame Namespace

Summary

Classes for a tile-based minigame for creating large areas of the same type.

Classes

Name Description
AreaDescription Description of an excavation area.
AreaDiscoveryData Data asset combining relevant information used to discover adjacent tiles for the board game.
BasicScoreCalculator A configurable implementation of a scoring logic.
An in depth description can be found in the Readme placed alongside the TileGame Prefabs.
MaterialMapping Helper class for mapping a renderers materials to the areas as the material ordering is not consistent.
Default values are set up for the example model coming with the project.
PlacementData Data about the results of a placement, grouping the directional discoveries.
ScoreCalculator An abstract class to serve as interface for Unity's Component system,
allowing you to implement scoring logic via inheritance.
ScoreResults The individual results of placing a tile in a tile game.
Tile Represents a tile of the game.
The edges of a tile are programmatically represented by Vector2Ints with a length of 1 and (0, 0) for the center area.
TileGame The main game logic for the tile game.
TileGameBoardSetupUtility A helper utility for creating the board of a tile game instantiating and placing the sockets.
The setup functionality is provided via the context menu (three dots in the header of the component).
TileGameDebugUtility Debug utility class for manually adding tile to and reading from a tile game.
Most functionality is provided via the context menu (three dots in the header of the component).
TileRespawnSocket A special putback socket that respawns a new tile if the old one gets submitted.
New tiles are either one of the provided variants of a random one if none provided.
TileSubmitSocket Socket representing a slot in the board snapping TileVisuals certain rotations. For the tile game 4 steps = 90 degrees.
TileVisuals Controls the visual appearance of a tile of the tile game.
⚠️ **GitHub.com Fallback** ⚠️