Game Development Reference
In-Depth Information
"src/sounds.js",
"src/enemy.js",
"src/tileset.js",
"src/atlas.js",
"src/mazemap.js",
"src/avatar.js",
"src/action.js",
"src/power.js",
"src/combat.js",
"src/minimap.js",
"src/info.js",
"src/mapscript.js",
"src/explore.js",
"src/shop.js",
"src/dialog.js",
"src/boss.js",
"src/title.js",
"src/gamestate.js",
"src/main.js"],
dest: 'js/<%= pkg.name %>.min.js'
}
},
copy: {
main: {
files: [
{src: ['index.html'], dest: 'deploy/web/', filter: 'isFile'},
{ src: ['css/**', 'images/**', 'js/**'], dest: 'deploy/web/' }
]
}
},
watch: {
files: 'src/**/*.js',
tasks: ['concat', 'copy']
},
open: {
dev: {
path: 'http://localhost:8080/index.html'
}
}
});
grunt.registerTask('default', ['concat', 'copy', 'connect', 'open', 'watch']);
}
Search WWH ::




Custom Search