| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 2 # for details. All rights reserved. Use of this source code is governed by a | |
| 3 # BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 # Note: You need wget and ImageMagick installed and on your path | |
| 6 # for this to work. You can avoid the latter by converting bg3_1.jpg to | |
| 7 # a .png file with some other tool. | |
| 8 | |
| 9 { | |
| 10 'targets': [ | |
| 11 { | |
| 12 'target_name': 'assets', | |
| 13 'type': 'none', | |
| 14 'actions': [ | |
| 15 { | |
| 16 'action_name': 'fetch_sounds', | |
| 17 'inputs': [ | |
| 18 ], | |
| 19 'outputs': [ | |
| 20 'bigboom.mp3', | |
| 21 'boom.mp3', | |
| 22 'enemybomb.mp3', | |
| 23 'explosion1.mp3', | |
| 24 'explosion2.mp3', | |
| 25 'explosion3.mp3', | |
| 26 'explosion4.mp3', | |
| 27 'laser.mp3', | |
| 28 'powerup.mp3', | |
| 29 ], | |
| 30 'action': [ | |
| 31 'wget', | |
| 32 '-nc', | |
| 33 'http://www.kevs3d.co.uk/dev/asteroids/sounds/bigboom.mp3', | |
| 34 'http://www.kevs3d.co.uk/dev/asteroids/sounds/boom.mp3', | |
| 35 'http://www.kevs3d.co.uk/dev/asteroids/sounds/enemybomb.mp3', | |
| 36 'http://www.kevs3d.co.uk/dev/asteroids/sounds/explosion1.mp3', | |
| 37 'http://www.kevs3d.co.uk/dev/asteroids/sounds/explosion2.mp3', | |
| 38 'http://www.kevs3d.co.uk/dev/asteroids/sounds/explosion3.mp3', | |
| 39 'http://www.kevs3d.co.uk/dev/asteroids/sounds/explosion4.mp3', | |
| 40 'http://www.kevs3d.co.uk/dev/asteroids/sounds/laser.mp3', | |
| 41 'http://www.kevs3d.co.uk/dev/asteroids/sounds/powerup.mp3', | |
| 42 ] | |
| 43 }, | |
| 44 { | |
| 45 'action_name': 'fetch_sprites', | |
| 46 'inputs': [ | |
| 47 ], | |
| 48 'outputs': [ | |
| 49 'asteroid1.png', | |
| 50 'asteroid2.png', | |
| 51 'asteroid3.png', | |
| 52 'asteroid4.png', | |
| 53 'bg3_1.jpg', | |
| 54 'enemyship1.png', | |
| 55 'player.png', | |
| 56 'shield.png', | |
| 57 ], | |
| 58 'action': [ | |
| 59 'wget', | |
| 60 '-nc', | |
| 61 'http://www.kevs3d.co.uk/dev/asteroids/images/asteroid1.png', | |
| 62 'http://www.kevs3d.co.uk/dev/asteroids/images/asteroid2.png', | |
| 63 'http://www.kevs3d.co.uk/dev/asteroids/images/asteroid3.png', | |
| 64 'http://www.kevs3d.co.uk/dev/asteroids/images/asteroid4.png', | |
| 65 'http://www.kevs3d.co.uk/dev/asteroids/images/bg3_1.jpg', | |
| 66 'http://www.kevs3d.co.uk/dev/asteroids/images/enemyship1.png', | |
| 67 'http://www.kevs3d.co.uk/dev/asteroids/images/player.png', | |
| 68 'http://www.kevs3d.co.uk/dev/asteroids/images/shield.png', | |
| 69 ] | |
| 70 }, | |
| 71 { | |
| 72 'action_name': 'convert_background', | |
| 73 'inputs': [ | |
| 74 'bg3_1.jpg', | |
| 75 ], | |
| 76 'outputs': [ | |
| 77 'bg3_1.png', | |
| 78 ], | |
| 79 'action': [ | |
| 80 'convert', | |
| 81 'bg3_1.jpg', | |
| 82 'bg3_1.png' | |
| 83 ] | |
| 84 }, | |
| 85 ] | |
| 86 }, | |
| 87 ] | |
| 88 } | |
| 89 | |
| OLD | NEW |