Giter Site home page Giter Site logo

victorqribeiro / tileeditor Goto Github PK

View Code? Open in Web Editor NEW
109.0 7.0 6.0 2.84 MB

A 2D Tile Editor that runs on the browser.

Home Page: https://victorribeiro.com/tileEditor/

License: MIT License

CSS 7.34% HTML 5.29% JavaScript 87.37%
2d tiled-map-editor tilemap javascript

tileeditor's Introduction

Tile Editor

A 2D tile editor that runs on the browser.

screenshot

Live version here
Alternative link here

How to use the tool

About

I made this tool for personal use, but now I'm releasing it under MIT license. You can learn more about this project by watching the videos I made while working on it.

YouTube playlist

Just want to play with it? Lots of free textures you can use

Menus

MAP

New

Create a new map.
width - Width of the map (grid size)
height - Height of the map (grid size)
tileSize - Size of the tile you're using
border - Border around the tile
tileSizeDraw - Size you want your tile to be drawn
nLayers - Number of layers on your map

Save

Save your map as a json format.
name - Name of the file

Load

Load the map you saved before.
file - JSON file to load

Export

Export the map as a PNG image.
name - Name of the image to be saved

Expand

Expand the map size.
top - How many rows on top to be added
bottom - How many rows on bottom to be added left - How many rows on left to be added right - How many rows on right to be added

Shrink

Shrink the map size.
top - How many rows on top to be removed
bottom - How many rows on bottom to be removed left - How many rows on left to be removed right - How many rows on right to be removed

Texture

Load

Load an image texture.
image - The image file with the texture
tileSize - The tile size of each tile
border - Is there a border separating each tile?

Brushes

Create a new brush.
custom - Create a custom brush that will be defined by you (selecting from the tiles on the texture)
random - Create a random brush that will be defined by you (selecting from the tiles on the texture)

Buttons

layers - Add or remove a layer
E - Erase brush (erase a tile from the map)
B - Paint bucket tool (paint a whole region on the map)


Help support the project

donate

tileeditor's People

Contributors

victorqribeiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tileeditor's Issues

controls?

Can you give a basic readme on what the controls hotkeys are to make the most basic map?

How do you integrate your tilemap into your game?

I've been wanting to add a tilemap into a game but I never knew how to. I saw your videos but you never showed any code or open sourced it. Is there any way to integrate tilemaps made in your editor into a JavaScript game.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.