mirror of
https://github.com/wassname/phaser.git
synced 2026-07-27 11:25:30 +08:00
Tilemap collision working but needs speeding up
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
# Usage Examples
|
||||
|
||||
```js
|
||||
copy: {
|
||||
main: {
|
||||
files: [
|
||||
{src: ['path/*'], dest: 'dest/', filter: 'isFile'}, // includes files in path
|
||||
{src: ['path/**'], dest: 'dest/'}, // includes files in path and its subdirs
|
||||
{expand: true, cwd: 'path/', src: ['**'], dest: 'dest/'}, // makes all src relative to cwd
|
||||
{expand: true, flatten: true, src: ['path/**'], dest: 'dest/', filter: 'isFile'} // flattens results to a single level
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
# Options
|
||||
|
||||
## processContent
|
||||
Type: `Function(content, srcpath)`
|
||||
|
||||
This option is passed to `grunt.file.copy` as an advanced way to control the file contents that are copied.
|
||||
|
||||
## processContentExclude
|
||||
Type: `String`
|
||||
|
||||
This option is passed to `grunt.file.copy` as an advanced way to control which file contents are processed.
|
||||
+1
@@ -0,0 +1 @@
|
||||
Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.
|
||||
+1
@@ -0,0 +1 @@
|
||||
*This plugin was designed to work with Grunt 0.4.x. If you're still using grunt v0.3.x it's strongly recommended that [you upgrade](http://gruntjs.com/upgrading-from-0.3-to-0.4), but in case you can't please use [v0.3.2](https://github.com/gruntjs/grunt-contrib-copy/tree/grunt-0.3-stable).*
|
||||
Reference in New Issue
Block a user