modulepackage
0.0.1
Repository: https://github.com/miketmoore/terraform2d.git
Documentation: pkg.go.dev
# README
:construction: terraform2d
This is a 2d adventure game engine built on the pixel game engine.
The first implementation (a work in progress) is here.
# Functions
BuildMapDrawData builds draw data and stores it in a map.
Load loads the tmx files.
LoadAndBuildSpritesheet this is a map of pixel engine sprites.
Ok asserts if the boolean is true or false.
ParseCSV translates a CSV string into a multi-dimensional array of strings.
RandomDirection returns a random direction.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DirectionDown indicates oriented down.
DirectionLeft indicates oriented left.
DirectionRight indicates oriented right.
DirectionUp indicates oriented up.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TransitionSlide represents a slide transition.
TransitionWarp represents a warp transition.
# Structs
ConnectedRooms is used to configure adjacent rooms.
MapData represents data for one map.
RoomTransition is used to transition between map room.
# Type aliases
No description provided by the author
Direction is the type of direction.
EntityCategory is used to group entities.
EntityID represents an entity ID.
RoomID is a room ID.
State is a type of game state.
TransitionStyle represents a transition style.