|
2364 | 2364 | }, |
2365 | 2365 | { |
2366 | 2366 | "assetStoreId": "", |
2367 | | - "name": "ParticleEmitter", |
| 2367 | + "name": "ExplosionParticleEmitter", |
2368 | 2368 | "tags": "", |
2369 | 2369 | "type": "ParticleEmitter3D::ParticleEmitter3D", |
2370 | 2370 | "variables": [], |
|
2444 | 2444 | } |
2445 | 2445 | } |
2446 | 2446 | }, |
| 2447 | + { |
| 2448 | + "assetStoreId": "", |
| 2449 | + "name": "UpgradeParticleEmitter", |
| 2450 | + "tags": "", |
| 2451 | + "type": "ParticleEmitter3D::ParticleEmitter3D", |
| 2452 | + "variables": [], |
| 2453 | + "effects": [], |
| 2454 | + "behaviors": [ |
| 2455 | + { |
| 2456 | + "name": "Sticker", |
| 2457 | + "type": "Sticker::Sticker", |
| 2458 | + "OnlyFollowPosition": true, |
| 2459 | + "IsDestroyedWithParent": false |
| 2460 | + } |
| 2461 | + ], |
| 2462 | + "content": { |
| 2463 | + "Z": 20, |
| 2464 | + "Duration": 0.125, |
| 2465 | + "GravityTop": "Z+", |
| 2466 | + "StartSpeedMax": 200, |
| 2467 | + "SpayConeAngle": 360, |
| 2468 | + "StartSizeMin": 125, |
| 2469 | + "StartSizeMax": 256, |
| 2470 | + "EndScale": 0.25, |
| 2471 | + "StartSpeedMin": 200, |
| 2472 | + "LifespanMax": 0.5, |
| 2473 | + "LifespanMin": 0.5, |
| 2474 | + "Flow": 120, |
| 2475 | + "EndColor": "255;255;255", |
| 2476 | + "EndOpacity": 0, |
| 2477 | + "StartColor": "255;255;255", |
| 2478 | + "AreParticlesRelative": true |
| 2479 | + }, |
| 2480 | + "childrenContent": { |
| 2481 | + "Particle": { |
| 2482 | + "adaptCollisionMaskAutomatically": true, |
| 2483 | + "updateIfNotVisible": false, |
| 2484 | + "animations": [ |
| 2485 | + { |
| 2486 | + "name": "Image", |
| 2487 | + "useMultipleDirections": false, |
| 2488 | + "directions": [ |
| 2489 | + { |
| 2490 | + "looping": false, |
| 2491 | + "metadata": "{\"pskl\":{}}", |
| 2492 | + "timeBetweenFrames": 0.08, |
| 2493 | + "sprites": [ |
| 2494 | + { |
| 2495 | + "hasCustomCollisionMask": true, |
| 2496 | + "image": "assets\\SmoothParticle.png", |
| 2497 | + "points": [], |
| 2498 | + "originPoint": { |
| 2499 | + "name": "origine", |
| 2500 | + "x": 0, |
| 2501 | + "y": 0 |
| 2502 | + }, |
| 2503 | + "centerPoint": { |
| 2504 | + "automatic": true, |
| 2505 | + "name": "centre", |
| 2506 | + "x": 0, |
| 2507 | + "y": 0 |
| 2508 | + }, |
| 2509 | + "customCollisionMask": [ |
| 2510 | + [ |
| 2511 | + { |
| 2512 | + "x": 20, |
| 2513 | + "y": 21 |
| 2514 | + }, |
| 2515 | + { |
| 2516 | + "x": 44, |
| 2517 | + "y": 21 |
| 2518 | + }, |
| 2519 | + { |
| 2520 | + "x": 44, |
| 2521 | + "y": 46 |
| 2522 | + }, |
| 2523 | + { |
| 2524 | + "x": 20, |
| 2525 | + "y": 46 |
| 2526 | + } |
| 2527 | + ] |
| 2528 | + ] |
| 2529 | + } |
| 2530 | + ] |
| 2531 | + } |
| 2532 | + ] |
| 2533 | + } |
| 2534 | + ] |
| 2535 | + } |
| 2536 | + } |
| 2537 | + }, |
2447 | 2538 | { |
2448 | 2539 | "assetStoreId": "", |
2449 | 2540 | "name": "Soil", |
|
2935 | 3026 | "Bonus", |
2936 | 3027 | "" |
2937 | 3028 | ] |
| 3029 | + }, |
| 3030 | + { |
| 3031 | + "type": { |
| 3032 | + "value": "Create" |
| 3033 | + }, |
| 3034 | + "parameters": [ |
| 3035 | + "", |
| 3036 | + "UpgradeParticleEmitter", |
| 3037 | + "Player.CenterX()", |
| 3038 | + "Player.CenterY() - 15", |
| 3039 | + "" |
| 3040 | + ] |
| 3041 | + }, |
| 3042 | + { |
| 3043 | + "type": { |
| 3044 | + "value": "Sticker::Sticker::Stick" |
| 3045 | + }, |
| 3046 | + "parameters": [ |
| 3047 | + "UpgradeParticleEmitter", |
| 3048 | + "Sticker", |
| 3049 | + "Player", |
| 3050 | + "" |
| 3051 | + ] |
2938 | 3052 | } |
2939 | 3053 | ] |
2940 | 3054 | } |
|
3441 | 3555 | "Bomb", |
3442 | 3556 | "Explosion", |
3443 | 3557 | "Obstacle", |
3444 | | - "ParticleEmitter", |
| 3558 | + "ExplosionParticleEmitter", |
3445 | 3559 | "" |
3446 | 3560 | ] |
3447 | 3561 | } |
|
3495 | 3609 | "Bomb", |
3496 | 3610 | "Explosion", |
3497 | 3611 | "Obstacle", |
3498 | | - "ParticleEmitter", |
| 3612 | + "ExplosionParticleEmitter", |
3499 | 3613 | "" |
3500 | 3614 | ] |
3501 | 3615 | } |
|
3917 | 4031 | "Player", |
3918 | 4032 | "Player", |
3919 | 4033 | "Bonus", |
| 4034 | + "BonusAnimator", |
3920 | 4035 | "" |
3921 | 4036 | ] |
3922 | 4037 | } |
|
32498 | 32613 | "+", |
32499 | 32614 | "1" |
32500 | 32615 | ] |
| 32616 | + }, |
| 32617 | + { |
| 32618 | + "type": { |
| 32619 | + "value": "Bonus::BonusAnimator::PlaySpawnAnimation" |
| 32620 | + }, |
| 32621 | + "parameters": [ |
| 32622 | + "Bonus", |
| 32623 | + "BonusAnimator", |
| 32624 | + "" |
| 32625 | + ] |
32501 | 32626 | } |
32502 | 32627 | ] |
32503 | 32628 | }, |
|
32534 | 32659 | "name": "Bonus", |
32535 | 32660 | "supplementaryInformation": "Scene3D::Cube3DObject", |
32536 | 32661 | "type": "objectList" |
| 32662 | + }, |
| 32663 | + { |
| 32664 | + "description": "Bonus animator", |
| 32665 | + "name": "BonusAnimator", |
| 32666 | + "supplementaryInformation": "Bonus::BonusAnimator", |
| 32667 | + "type": "behavior" |
32537 | 32668 | } |
32538 | 32669 | ], |
32539 | 32670 | "objectGroups": [] |
|
33683 | 33814 | "functionType": "Action", |
33684 | 33815 | "name": "onCreated", |
33685 | 33816 | "sentence": "", |
| 33817 | + "events": [ |
| 33818 | + { |
| 33819 | + "type": "BuiltinCommonInstructions::Standard", |
| 33820 | + "conditions": [], |
| 33821 | + "actions": [ |
| 33822 | + { |
| 33823 | + "type": { |
| 33824 | + "value": "Bonus::BonusAnimator::PlaySpawnAnimation" |
| 33825 | + }, |
| 33826 | + "parameters": [ |
| 33827 | + "Object", |
| 33828 | + "Behavior", |
| 33829 | + "" |
| 33830 | + ] |
| 33831 | + } |
| 33832 | + ] |
| 33833 | + } |
| 33834 | + ], |
| 33835 | + "parameters": [ |
| 33836 | + { |
| 33837 | + "description": "Object", |
| 33838 | + "name": "Object", |
| 33839 | + "supplementaryInformation": "Scene3D::Cube3DObject", |
| 33840 | + "type": "object" |
| 33841 | + }, |
| 33842 | + { |
| 33843 | + "description": "Behavior", |
| 33844 | + "name": "Behavior", |
| 33845 | + "supplementaryInformation": "Bonus::BonusAnimator", |
| 33846 | + "type": "behavior" |
| 33847 | + } |
| 33848 | + ], |
| 33849 | + "objectGroups": [] |
| 33850 | + }, |
| 33851 | + { |
| 33852 | + "fullName": "Play spwan animation", |
| 33853 | + "functionType": "Action", |
| 33854 | + "name": "PlaySpawnAnimation", |
| 33855 | + "sentence": "Play spwan animation of _PARAM0_", |
33686 | 33856 | "events": [ |
33687 | 33857 | { |
33688 | 33858 | "type": "BuiltinCommonInstructions::Standard", |
|
0 commit comments