An open API service indexing awesome lists of open source software.

https://github.com/holywyvern/react-isometric-tilemap

A Tileset for isomtric game components made only with the DOM
https://github.com/holywyvern/react-isometric-tilemap

isometric react tilemap

Last synced: 11 months ago
JSON representation

A Tileset for isomtric game components made only with the DOM

Awesome Lists containing this project

README

          

# React Isometric Tilemap

A library for displaying tilemaps and handling events on it.

## How to use

### Install the library:

```sh
npm i --save react-isometric-tilemap
```

Import this library in your code:

```js
// The map is the basic container, the tile is each square
import IsometricMap, { IsometricTile } from "react-isometric-tilemap";
// The styles are needed to display properly
import "react-isometric-tilemap/build/css/index.css";
```

Now you can create your own map with it:

```jsx
const MyMap = () => {


;
};
```

Please refer for the documentation for more details about the components provided.