-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matt Karl
committed
Sep 7, 2014
1 parent
4a3fd4f
commit cfae094
Showing
79 changed files
with
35,243 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"directory" : "components" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.DS_Store | ||
.grunt | ||
node_modules | ||
components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
module.exports = function(grunt) | ||
{ | ||
var path = require('path'), | ||
_ = grunt.util._; | ||
|
||
// Combine the game builder and current project | ||
// configs into one object | ||
grunt.initConfig(_.extend( | ||
|
||
// Setup the default game tasks | ||
require('grunt-game-builder')(grunt, { | ||
autoInit: false, | ||
jsFolder : "deploy/assets/js" | ||
}), | ||
|
||
// Setup the current project tasks | ||
require('load-grunt-config')(grunt, { | ||
// The path for the tasks | ||
configPath: path.join(process.cwd(), 'tasks'), | ||
autoInit: false, | ||
|
||
// We don't want to reload builder | ||
loadGruntTasks: { pattern: [ | ||
'grunt-*', | ||
'!grunt-game-builder' | ||
] }, | ||
}) | ||
)); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "ParticleEditor", | ||
"version": "0.0.1", | ||
"dependencies": { | ||
"cloudkid-debug": "*", | ||
"cloudkid-namespace": "*", | ||
"pixi.js": "https://github.com/CloudKidStudio/pixi.js.git#^1.6.2", | ||
"cloudkid-framework": "*", | ||
"cloudkid-tasks": "framework", | ||
"cloudkid-pixi-display": "*", | ||
"cloudkid-particles": "*", | ||
"normalize.css": "*" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "ParticleEditor", | ||
"version": "0.0.1", | ||
"main": [ | ||
"src/Editor.js", | ||
"src/main.js", | ||
"src/main.less" | ||
], | ||
"libraries": [ | ||
"components/normalize.css/normalize.css", | ||
"components/preloadjs/lib/preloadjs.min.js", | ||
"components/pixi.js/bin/pixi.dev.js", | ||
"components/cloudkid-namespace/namespace.js", | ||
"components/cloudkid-debug/dist/cloudkid-debug.js", | ||
"components/cloudkid-framework/dist/cloudkid-framework.js", | ||
"components/cloudkid-tasks/dist/cloudkid-tasks.js", | ||
"components/cloudkid-pixi-display/dist/cloudkid-pixi-display.js", | ||
"components/cloudkid-particles/dist/cloudkid-particles.js" | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"alpha": { | ||
"start": 0.8, | ||
"end": 0.1 | ||
}, | ||
"scale": { | ||
"start": 0.6, | ||
"end": 0.4 | ||
}, | ||
"color": { | ||
"start": "fe8e06", | ||
"end": "fffd00" | ||
}, | ||
"speed": { | ||
"start": 100, | ||
"end": 150 | ||
}, | ||
"startRotation": { | ||
"min": -45, | ||
"max": -135 | ||
}, | ||
"rotationSpeed": { | ||
"min": 0, | ||
"max": 0 | ||
}, | ||
"lifetime": { | ||
"min": 0.3, | ||
"max": 0.8 | ||
}, | ||
"frequency": 0.008, | ||
"emitterLifetime": -1, | ||
"maxParticles": 1000, | ||
"pos": { | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"addAtBack": false, | ||
"spawnType": "rect", | ||
"spawnRect": { | ||
"x": -15, | ||
"y": -2, | ||
"w": 30, | ||
"h": 4 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"alpha": { | ||
"start": 0.4, | ||
"end": 0.1 | ||
}, | ||
"scale": { | ||
"start": 0.5, | ||
"end": 0.4 | ||
}, | ||
"color": { | ||
"start": "a225fe", | ||
"end": "904bfe" | ||
}, | ||
"speed": { | ||
"start": 10, | ||
"end": 10 | ||
}, | ||
"startRotation": { | ||
"min": 0, | ||
"max": 360 | ||
}, | ||
"rotationSpeed": { | ||
"min": 0, | ||
"max": 0 | ||
}, | ||
"lifetime": { | ||
"min": 2, | ||
"max": 1.8 | ||
}, | ||
"frequency": 0.03, | ||
"emitterLifetime": -1, | ||
"maxParticles": 1000, | ||
"pos": { | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"addAtBack": false, | ||
"spawnType": "circle", | ||
"spawnCircle": { | ||
"x": 0, | ||
"y": 0, | ||
"r": 150 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"alpha":{"start":0.8, "end":0.1},//Start and end alpha | ||
"color":{"start":"#E3F9FF", "end":"#0EC8F8"},//start and end color (no alpha) | ||
"scale":{"start":1, "end":0.3},//start and end scale | ||
"speed":{"start":0, "end":0},//speed in units/sec to move at, at start and end of life | ||
"startRotation":{"min":0, "max":0},//minimum and maximum rotation (affects movement) of particle when emitting | ||
"lifetime":{"min":0.2, "max":0.2},//lifetime of particles in seconds | ||
//"ease":[{"s":0,"cp":0.482,"e":0.732},{"s":0.732,"cp":0.982,"e":1}],//custom ease, as created by http://www.greensock.com/customease/ | ||
"frequency":0.008,//how often to emit particles, in seconds (emitter can handle doing more than one per frame) | ||
"maxParticles":1000,//probably no more than 25 for the particle life and frequency for these settings | ||
"emitterLifetime":-1,//-1 is emit forever | ||
"spawnType":"point",//drop particles in place | ||
"angle":{"min":0, "max":0},//minimum and maximum rotation (affects movement) when emitting | ||
"pos":{"x":0, "y":0},//position relative to emitter's owner's origin | ||
"addAtBack":false//add at back of display list | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"alpha": { | ||
"start": 0.8, | ||
"end": 0.1 | ||
}, | ||
"scale": { | ||
"start": 1, | ||
"end": 0.3 | ||
}, | ||
"color": { | ||
"start": "fb1010", | ||
"end": "f5b830" | ||
}, | ||
"speed": { | ||
"start": 200, | ||
"end": 100 | ||
}, | ||
"startRotation": { | ||
"min": 0, | ||
"max": 360 | ||
}, | ||
"rotationSpeed": { | ||
"min": 0, | ||
"max": 0 | ||
}, | ||
"lifetime": { | ||
"min": 0.5, | ||
"max": 0.5 | ||
}, | ||
"frequency": 0.008, | ||
"emitterLifetime": 0.31, | ||
"maxParticles": 1000, | ||
"pos": { | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"addAtBack": false, | ||
"spawnType": "circle", | ||
"spawnCircle": { | ||
"x": 0, | ||
"y": 0, | ||
"r": 10 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"alpha": { | ||
"start": 0.8, | ||
"end": 0.1 | ||
}, | ||
"scale": { | ||
"start": 1, | ||
"end": 0.3 | ||
}, | ||
"color": { | ||
"start": "fd1111", | ||
"end": "f7a134" | ||
}, | ||
"speed": { | ||
"start": 200, | ||
"end": 200 | ||
}, | ||
"startRotation": { | ||
"min": 0, | ||
"max": 0 | ||
}, | ||
"rotationSpeed": { | ||
"min": 0, | ||
"max": 0 | ||
}, | ||
"lifetime": { | ||
"min": 0.5, | ||
"max": 0.5 | ||
}, | ||
"frequency": 0.1, | ||
"emitterLifetime": 0.31, | ||
"maxParticles": 1000, | ||
"pos": { | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"addAtBack": false, | ||
"spawnType": "burst", | ||
"particlesPerWave": 10, | ||
"particleSpacing": 0, | ||
"angleStart": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"alpha": { | ||
"start": 0.8, | ||
"end": 0.7 | ||
}, | ||
"scale": { | ||
"start": 1, | ||
"end": 0.3 | ||
}, | ||
"color": { | ||
"start": "e3f9ff", | ||
"end": "0ec8f8" | ||
}, | ||
"speed": { | ||
"start": 200, | ||
"end": 200 | ||
}, | ||
"startRotation": { | ||
"min": 0, | ||
"max": 0 | ||
}, | ||
"rotationSpeed": { | ||
"min": 0, | ||
"max": 0 | ||
}, | ||
"lifetime": { | ||
"min": 0.8, | ||
"max": 0.8 | ||
}, | ||
"frequency": 0.2, | ||
"emitterLifetime": 0.41, | ||
"maxParticles": 1000, | ||
"pos": { | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"addAtBack": false, | ||
"spawnType": "burst", | ||
"particlesPerWave": 8, | ||
"particleSpacing": 45, | ||
"angleStart": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"alpha": { | ||
"start": 0.5, | ||
"end": 0.5 | ||
}, | ||
"scale": { | ||
"start": 1, | ||
"end": 1 | ||
}, | ||
"color": { | ||
"start": "267dff", | ||
"end": "267dff" | ||
}, | ||
"speed": { | ||
"start": 600, | ||
"end": 600 | ||
}, | ||
"startRotation": { | ||
"min": 85, | ||
"max": 95 | ||
}, | ||
"rotationSpeed": { | ||
"min": 0, | ||
"max": 0 | ||
}, | ||
"lifetime": { | ||
"min": 0.81, | ||
"max": 0.81 | ||
}, | ||
"frequency": 0.004, | ||
"emitterLifetime": -1, | ||
"maxParticles": 1000, | ||
"pos": { | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"addAtBack": false, | ||
"spawnType": "rect", | ||
"spawnRect": { | ||
"x": -500, | ||
"y": -260, | ||
"w": 900, | ||
"h": 20 | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.