1.0.4 • Published 7 years ago

gulp-tiled-multiply v1.0.4

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

gulp-tiled-multiply

A gulp plugin for multiplying the width of Tiled tilemaps. Useful for infinitely scrolling maps.

Getting Started

  1. Install it

npm install --save-dev gulp-tiled-multiply

  1. Use it in a gulp task
var multiply = require('gulp-tiled-multiply');

gulp.task('tilemaps', function() {
  return gulp.src('./public/tilemaps/*.json')
    
    // pass an argument for how many times you want the map multiplied.
    // Defaults to 3
    .pipe(multiply(2))
    
    // Output to a different directory
    .pipe(gulp.dest('./public/tilemaps/tripled'))
});
1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago