mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Changed Particles
This commit is contained in:
parent
848341dbd1
commit
8098c76ba5
1 changed files with 9 additions and 7 deletions
|
@ -112,7 +112,8 @@ vec = (x, y, z) ->
|
|||
defaults =
|
||||
group:
|
||||
texture: 'star'
|
||||
maxAge: 4
|
||||
maxAge: 1.9
|
||||
radius: 0.75
|
||||
hasPerspective: 1
|
||||
colorize: 1
|
||||
transparent: 1
|
||||
|
@ -121,20 +122,21 @@ defaults =
|
|||
depthTest: true
|
||||
blending: THREE.NormalBlending
|
||||
emitter:
|
||||
type: "cube"
|
||||
particleCount: 60
|
||||
type: "disk"
|
||||
particleCount: 100
|
||||
radius: 1
|
||||
position: vec 0, 0, 0
|
||||
positionSpread: vec 1, 0, 1
|
||||
acceleration: vec 0, -1, 0
|
||||
acceleration: vec 0, 2, 0
|
||||
accelerationSpread: vec 0, 0, 0
|
||||
velocity: vec 0, 4, 0
|
||||
velocitySpread: vec 2, 2, 2
|
||||
sizeStart: 6
|
||||
sizeStartSpread: 0
|
||||
sizeStartSpread: 1
|
||||
sizeMiddle: 4
|
||||
sizeMiddleSpread: 0
|
||||
sizeMiddleSpread: 1
|
||||
sizeEnd: 2
|
||||
sizeEndSpread: 0
|
||||
sizeEndSpread: 1
|
||||
angleStart: 0
|
||||
angleStartSpread: 0
|
||||
angleMiddle: 0
|
||||
|
|
Loading…
Reference in a new issue