fire.json 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823
  1. {
  2. "systems":
  3. [
  4. {
  5. "name": "fireSystem",
  6. "id": "fireSystem",
  7. "capacity": 5,
  8. "emitter":
  9. [
  10. 0,
  11. 3.25,
  12. 0
  13. ],
  14. "particleEmitterType":
  15. {
  16. "type": "BoxParticleEmitter",
  17. "direction1":
  18. [
  19. 0,
  20. 1,
  21. 0
  22. ],
  23. "direction2":
  24. [
  25. 0,
  26. 1,
  27. 0
  28. ],
  29. "minEmitBox":
  30. [
  31. -0.5,
  32. 0,
  33. -0.5
  34. ],
  35. "maxEmitBox":
  36. [
  37. 0.5,
  38. 0,
  39. 0.5
  40. ]
  41. },
  42. "textureName": "fire/Fire_SpriteSheet1_8x8.png",
  43. "invertY": false,
  44. "animations": [],
  45. "startDelay": 0,
  46. "renderingGroupId": 0,
  47. "isBillboardBased": true,
  48. "billboardMode": 2,
  49. "minAngularSpeed": 0,
  50. "maxAngularSpeed": 0,
  51. "minSize": 6,
  52. "maxSize": 8,
  53. "minScaleX": 1,
  54. "maxScaleX": 1,
  55. "minScaleY": 1,
  56. "maxScaleY": 1,
  57. "minEmitPower": 0,
  58. "maxEmitPower": 0,
  59. "minLifeTime": 2,
  60. "maxLifeTime": 3,
  61. "emitRate": 2,
  62. "gravity":
  63. [
  64. 0,
  65. 0,
  66. 0
  67. ],
  68. "noiseStrength":
  69. [
  70. 10,
  71. 10,
  72. 10
  73. ],
  74. "color1":
  75. [
  76. 1,
  77. 1,
  78. 1,
  79. 1
  80. ],
  81. "color2":
  82. [
  83. 1,
  84. 1,
  85. 1,
  86. 1
  87. ],
  88. "colorDead":
  89. [
  90. 1,
  91. 1,
  92. 1,
  93. 0
  94. ],
  95. "updateSpeed": 0.016666666666666666,
  96. "targetStopDuration": 0,
  97. "blendMode": 4,
  98. "preWarmCycles": 100,
  99. "preWarmStepOffset": 10,
  100. "minInitialRotation": -0.1,
  101. "maxInitialRotation": 0.1,
  102. "startSpriteCellID": 0,
  103. "endSpriteCellID": 63,
  104. "spriteCellChangeSpeed": 1,
  105. "spriteCellWidth": 128,
  106. "spriteCellHeight": 128,
  107. "spriteRandomStartCell": true,
  108. "isAnimationSheetEnabled": true,
  109. "colorGradients":
  110. [
  111. {
  112. "gradient": 0,
  113. "color1":
  114. [
  115. 1,
  116. 1,
  117. 1,
  118. 0
  119. ]
  120. },
  121. {
  122. "gradient": 0.1,
  123. "color1":
  124. [
  125. 1,
  126. 1,
  127. 1,
  128. 0.6
  129. ]
  130. },
  131. {
  132. "gradient": 0.9,
  133. "color1":
  134. [
  135. 1,
  136. 1,
  137. 1,
  138. 0.6
  139. ]
  140. },
  141. {
  142. "gradient": 1,
  143. "color1":
  144. [
  145. 1,
  146. 1,
  147. 1,
  148. 0
  149. ]
  150. }
  151. ],
  152. "rampGradients":
  153. [
  154. {
  155. "gradient": 0,
  156. "color":
  157. [
  158. 1,
  159. 1,
  160. 1
  161. ]
  162. },
  163. {
  164. "gradient": 1,
  165. "color":
  166. [
  167. 0.7968,
  168. 0.3685,
  169. 0.1105
  170. ]
  171. }
  172. ],
  173. "useRampGradients": true,
  174. "colorRemapGradients":
  175. [
  176. {
  177. "gradient": 0,
  178. "factor1": 0.2,
  179. "factor2": 1
  180. },
  181. {
  182. "gradient": 1,
  183. "factor1": 0.2,
  184. "factor2": 1
  185. }
  186. ],
  187. "textureMask":
  188. [
  189. 1,
  190. 1,
  191. 1,
  192. 1
  193. ],
  194. "customShader": null,
  195. "preventAutoStart": false
  196. },
  197. {
  198. "name": "sparksEdge",
  199. "id": "sparksEdge",
  200. "capacity": 20,
  201. "emitter":
  202. [
  203. 0,
  204. 0,
  205. 0
  206. ],
  207. "particleEmitterType":
  208. {
  209. "type": "ConeParticleEmitter",
  210. "radius": 1,
  211. "angle": 0.8,
  212. "directionRandomizer": 0
  213. },
  214. "textureName": "fire/sparks.png",
  215. "invertY": true,
  216. "animations": [],
  217. "startDelay": 0,
  218. "renderingGroupId": 0,
  219. "isBillboardBased": true,
  220. "billboardMode": 7,
  221. "minAngularSpeed": 0,
  222. "maxAngularSpeed": 0,
  223. "minSize": 0.2,
  224. "maxSize": 0.3,
  225. "minScaleX": 1,
  226. "maxScaleX": 1,
  227. "minScaleY": 1,
  228. "maxScaleY": 1,
  229. "minEmitPower": 15,
  230. "maxEmitPower": 20,
  231. "minLifeTime": 1.5,
  232. "maxLifeTime": 2.5,
  233. "emitRate": 20,
  234. "gravity":
  235. [
  236. 0,
  237. 0,
  238. 0
  239. ],
  240. "noiseStrength":
  241. [
  242. 2,
  243. 1,
  244. 1
  245. ],
  246. "color1":
  247. [
  248. 1,
  249. 1,
  250. 1,
  251. 1
  252. ],
  253. "color2":
  254. [
  255. 1,
  256. 1,
  257. 1,
  258. 1
  259. ],
  260. "colorDead":
  261. [
  262. 1,
  263. 1,
  264. 1,
  265. 0
  266. ],
  267. "updateSpeed": 0.016666666666666666,
  268. "targetStopDuration": 0,
  269. "blendMode": 2,
  270. "preWarmCycles": 100,
  271. "preWarmStepOffset": 10,
  272. "minInitialRotation": 0,
  273. "maxInitialRotation": 0,
  274. "startSpriteCellID": 0,
  275. "endSpriteCellID": 0,
  276. "spriteCellChangeSpeed": 1,
  277. "spriteCellWidth": 0,
  278. "spriteCellHeight": 0,
  279. "spriteRandomStartCell": false,
  280. "isAnimationSheetEnabled": false,
  281. "colorGradients":
  282. [
  283. {
  284. "gradient": 0,
  285. "color1":
  286. [
  287. 0.9245,
  288. 0.654,
  289. 0.0915,
  290. 0
  291. ]
  292. },
  293. {
  294. "gradient": 0.04,
  295. "color1":
  296. [
  297. 0.9062,
  298. 0.6132,
  299. 0.0942,
  300. 0.1
  301. ]
  302. },
  303. {
  304. "gradient": 0.4,
  305. "color1":
  306. [
  307. 0.7968,
  308. 0.3685,
  309. 0.1105,
  310. 1
  311. ]
  312. },
  313. {
  314. "gradient": 0.7,
  315. "color1":
  316. [
  317. 0.6886,
  318. 0.1266,
  319. 0.1266,
  320. 1
  321. ]
  322. },
  323. {
  324. "gradient": 0.9,
  325. "color1":
  326. [
  327. 0.3113,
  328. 0.0367,
  329. 0.0367,
  330. 0.6
  331. ]
  332. },
  333. {
  334. "gradient": 1,
  335. "color1":
  336. [
  337. 0.3113,
  338. 0.0367,
  339. 0.0367,
  340. 0
  341. ]
  342. }
  343. ],
  344. "rampGradients":
  345. [
  346. {
  347. "gradient": 0,
  348. "color":
  349. [
  350. 1,
  351. 1,
  352. 1
  353. ]
  354. },
  355. {
  356. "gradient": 1,
  357. "color":
  358. [
  359. 0.7968,
  360. 0.63685,
  361. 0.4105
  362. ]
  363. }
  364. ],
  365. "useRampGradients": true,
  366. "colorRemapGradients":
  367. [
  368. {
  369. "gradient": 0,
  370. "factor1": 0,
  371. "factor2": 0.1
  372. },
  373. {
  374. "gradient": 0.2,
  375. "factor1": 0.1,
  376. "factor2": 0.8
  377. },
  378. {
  379. "gradient": 0.3,
  380. "factor1": 0.2,
  381. "factor2": 0.85
  382. },
  383. {
  384. "gradient": 0.35,
  385. "factor1": 0.4,
  386. "factor2": 0.85
  387. },
  388. {
  389. "gradient": 0.4,
  390. "factor1": 0.5,
  391. "factor2": 0.9
  392. },
  393. {
  394. "gradient": 0.5,
  395. "factor1": 0.95,
  396. "factor2": 1
  397. },
  398. {
  399. "gradient": 1,
  400. "factor1": 0.95,
  401. "factor2": 1
  402. }
  403. ],
  404. "limitVelocityGradients":
  405. [
  406. {
  407. "gradient": 0,
  408. "factor1": 7
  409. },
  410. {
  411. "gradient": 1,
  412. "factor1": 1
  413. }
  414. ],
  415. "limitVelocityDamping": 0.5,
  416. "noiseTexture":
  417. {
  418. "customType": "BABYLON.NoiseProceduralTexture",
  419. "brightness": 0.5,
  420. "octaves": 8,
  421. "persistence": 1,
  422. "animationSpeedFactor": 3,
  423. "size": 256,
  424. "generateMipMaps": true
  425. },
  426. "textureMask":
  427. [
  428. 1,
  429. 1,
  430. 1,
  431. 1
  432. ],
  433. "customShader": null,
  434. "preventAutoStart": false
  435. },
  436. {
  437. "name": "fireSystem2",
  438. "id": "fireSystem2",
  439. "capacity": 3,
  440. "emitter":
  441. [
  442. 0,
  443. 2.25,
  444. 0
  445. ],
  446. "particleEmitterType":
  447. {
  448. "type": "BoxParticleEmitter",
  449. "direction1":
  450. [
  451. 0,
  452. 1,
  453. 0
  454. ],
  455. "direction2":
  456. [
  457. 0,
  458. 1,
  459. 0
  460. ],
  461. "minEmitBox":
  462. [
  463. -0.5,
  464. 0,
  465. -0.5
  466. ],
  467. "maxEmitBox":
  468. [
  469. 0.5,
  470. 0,
  471. 0.5
  472. ]
  473. },
  474. "textureName": "fire/Fire_SpriteSheet2_8x8.png",
  475. "invertY": false,
  476. "animations": [],
  477. "startDelay": 0,
  478. "renderingGroupId": 0,
  479. "isBillboardBased": true,
  480. "billboardMode": 2,
  481. "minAngularSpeed": 0,
  482. "maxAngularSpeed": 0,
  483. "minSize": 5,
  484. "maxSize": 6,
  485. "minScaleX": 1,
  486. "maxScaleX": 1,
  487. "minScaleY": 1,
  488. "maxScaleY": 1,
  489. "minEmitPower": 0,
  490. "maxEmitPower": 0,
  491. "minLifeTime": 2,
  492. "maxLifeTime": 3,
  493. "emitRate": 2,
  494. "gravity":
  495. [
  496. 0,
  497. 0,
  498. 0
  499. ],
  500. "noiseStrength":
  501. [
  502. 10,
  503. 10,
  504. 10
  505. ],
  506. "color1":
  507. [
  508. 1,
  509. 1,
  510. 1,
  511. 1
  512. ],
  513. "color2":
  514. [
  515. 1,
  516. 1,
  517. 1,
  518. 1
  519. ],
  520. "colorDead":
  521. [
  522. 1,
  523. 1,
  524. 1,
  525. 0
  526. ],
  527. "updateSpeed": 0.016666666666666666,
  528. "targetStopDuration": 0,
  529. "blendMode": 4,
  530. "preWarmCycles": 100,
  531. "preWarmStepOffset": 10,
  532. "minInitialRotation": -0.1,
  533. "maxInitialRotation": 0.1,
  534. "startSpriteCellID": 0,
  535. "endSpriteCellID": 63,
  536. "spriteCellChangeSpeed": 0.9,
  537. "spriteCellWidth": 128,
  538. "spriteCellHeight": 128,
  539. "spriteRandomStartCell": true,
  540. "isAnimationSheetEnabled": true,
  541. "colorGradients":
  542. [
  543. {
  544. "gradient": 0,
  545. "color1":
  546. [
  547. 1,
  548. 1,
  549. 1,
  550. 0
  551. ]
  552. },
  553. {
  554. "gradient": 0.1,
  555. "color1":
  556. [
  557. 1,
  558. 1,
  559. 1,
  560. 0.6
  561. ]
  562. },
  563. {
  564. "gradient": 0.9,
  565. "color1":
  566. [
  567. 1,
  568. 1,
  569. 1,
  570. 0.6
  571. ]
  572. },
  573. {
  574. "gradient": 1,
  575. "color1":
  576. [
  577. 1,
  578. 1,
  579. 1,
  580. 0
  581. ]
  582. }
  583. ],
  584. "rampGradients":
  585. [
  586. {
  587. "gradient": 0,
  588. "color":
  589. [
  590. 1,
  591. 1,
  592. 1
  593. ]
  594. },
  595. {
  596. "gradient": 1,
  597. "color":
  598. [
  599. 0.7968,
  600. 0.3685,
  601. 0.1105
  602. ]
  603. }
  604. ],
  605. "useRampGradients": true,
  606. "colorRemapGradients":
  607. [
  608. {
  609. "gradient": 0,
  610. "factor1": 0.2,
  611. "factor2": 1
  612. },
  613. {
  614. "gradient": 1,
  615. "factor1": 0.2,
  616. "factor2": 1
  617. }
  618. ],
  619. "textureMask":
  620. [
  621. 1,
  622. 1,
  623. 1,
  624. 1
  625. ],
  626. "customShader": null,
  627. "preventAutoStart": false
  628. },
  629. {
  630. "name": "fireSystem3",
  631. "id": "fireSystem3",
  632. "capacity": 3,
  633. "emitter":
  634. [
  635. 0,
  636. 2.25,
  637. 0
  638. ],
  639. "particleEmitterType":
  640. {
  641. "type": "BoxParticleEmitter",
  642. "direction1":
  643. [
  644. 0,
  645. 1,
  646. 0
  647. ],
  648. "direction2":
  649. [
  650. 0,
  651. 1,
  652. 0
  653. ],
  654. "minEmitBox":
  655. [
  656. -0.5,
  657. 0,
  658. -0.5
  659. ],
  660. "maxEmitBox":
  661. [
  662. 0.5,
  663. 0,
  664. 0.5
  665. ]
  666. },
  667. "textureName": "fire/Fire_SpriteSheet3_8x8.png",
  668. "invertY": false,
  669. "animations": [],
  670. "startDelay": 0,
  671. "renderingGroupId": 0,
  672. "isBillboardBased": true,
  673. "billboardMode": 2,
  674. "minAngularSpeed": 0,
  675. "maxAngularSpeed": 0,
  676. "minSize": 5,
  677. "maxSize": 6,
  678. "minScaleX": 1,
  679. "maxScaleX": 1,
  680. "minScaleY": 1,
  681. "maxScaleY": 1,
  682. "minEmitPower": 0,
  683. "maxEmitPower": 0,
  684. "minLifeTime": 2,
  685. "maxLifeTime": 3,
  686. "emitRate": 2,
  687. "gravity":
  688. [
  689. 0,
  690. 0,
  691. 0
  692. ],
  693. "noiseStrength":
  694. [
  695. 10,
  696. 10,
  697. 10
  698. ],
  699. "color1":
  700. [
  701. 1,
  702. 1,
  703. 1,
  704. 1
  705. ],
  706. "color2":
  707. [
  708. 1,
  709. 1,
  710. 1,
  711. 1
  712. ],
  713. "colorDead":
  714. [
  715. 1,
  716. 1,
  717. 1,
  718. 0
  719. ],
  720. "updateSpeed": 0.016666666666666666,
  721. "targetStopDuration": 0,
  722. "blendMode": 4,
  723. "preWarmCycles": 100,
  724. "preWarmStepOffset": 10,
  725. "minInitialRotation": -0.1,
  726. "maxInitialRotation": 0.1,
  727. "startSpriteCellID": 0,
  728. "endSpriteCellID": 63,
  729. "spriteCellChangeSpeed": 0.9,
  730. "spriteCellWidth": 128,
  731. "spriteCellHeight": 128,
  732. "spriteRandomStartCell": true,
  733. "isAnimationSheetEnabled": true,
  734. "colorGradients":
  735. [
  736. {
  737. "gradient": 0,
  738. "color1":
  739. [
  740. 1,
  741. 1,
  742. 1,
  743. 0
  744. ]
  745. },
  746. {
  747. "gradient": 0.1,
  748. "color1":
  749. [
  750. 1,
  751. 1,
  752. 1,
  753. 0.6
  754. ]
  755. },
  756. {
  757. "gradient": 0.9,
  758. "color1":
  759. [
  760. 1,
  761. 1,
  762. 1,
  763. 0.6
  764. ]
  765. },
  766. {
  767. "gradient": 1,
  768. "color1":
  769. [
  770. 1,
  771. 1,
  772. 1,
  773. 0
  774. ]
  775. }
  776. ],
  777. "rampGradients":
  778. [
  779. {
  780. "gradient": 0,
  781. "color":
  782. [
  783. 1,
  784. 1,
  785. 1
  786. ]
  787. },
  788. {
  789. "gradient": 1,
  790. "color":
  791. [
  792. 0.7968,
  793. 0.3685,
  794. 0.1105
  795. ]
  796. }
  797. ],
  798. "useRampGradients": true,
  799. "colorRemapGradients":
  800. [
  801. {
  802. "gradient": 0,
  803. "factor1": 0.2,
  804. "factor2": 1
  805. },
  806. {
  807. "gradient": 1,
  808. "factor1": 0.2,
  809. "factor2": 1
  810. }
  811. ],
  812. "textureMask":
  813. [
  814. 1,
  815. 1,
  816. 1,
  817. 1
  818. ],
  819. "customShader": null,
  820. "preventAutoStart": false
  821. }
  822. ]
  823. }