Coder Social home page Coder Social logo

tilemaker's Introduction

TileMaker

A terrain tile mask generator for 3x3 terrain tile sections for game engines.

Either compile and run the java source code to generate the tiles in the folder where you have placed the java file or if just download the zip folder containing 64x64 mask of terrain tiles.

in commandline run these two lines in the folder where the GenerateMasks.java file is located (if you have jdk installed) javac .\GenerateMasks.java java -cp .\ GenerateMasks

or if you only have normal java you can run this line from the folder where you downloaded the GenerateMasks.class file. java -cp .\ GenerateMasks

You can also add arguments to the java file like this to create 16x16 textures with 4 thickness of side space next to roads and including mirrored versions as well. java -cp .\ GenerateMasks 16 16 4 4 true

By default all mirrored masks are removed as well as rotated masks. default command options are: java -cp .\ GenerateMasks 64 64 16 16 false

You now have all the possible tiles that a road or other tile can intersect with.

In the future I might add a unity script and shader for making use of these masks in unity as well as include options to load in images directly to generate ready masks from this script.

tilemaker's People

Contributors

dantefjante avatar

Watchers

 avatar

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.