Actor Explosion Bbasset

Discussion in 'Buildbox 3.0' started by particles, Sep 20, 2018.

  1. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    336
    Likes Received:
    242
    Attached ActorExplosion and CameraShake Asset with properties to adjust.
    • Which can be reused in other projects.
    • Just drag and drop into the scene to import SKActorExplosionCameraShake.bbasset.
    • Sample SKActorExplosionCameraShake.bbdoc with bbasset.
    • SKExplosion and SKCameraShake Script can be copied and used in other moving objects.

    [​IMG]

    SKExplosion
    • Change the shape of debris
    • Adjust the colour of debris
    • Adjust the size of debris
    • Adjust Linear and Angular velocity of the explosion.
    [​IMG]

    SKCameraShake
    • Adjust the speed of camera shake
    • Adjust maximum and minimum position
    • Adjust maximum and minimum rotation
    [​IMG]
     

    Attached Files:

    Last edited: Sep 22, 2018
    nyamuk91, DanFarfan, fredi and 4 others like this.
  2. LBPToo

    LBPToo Avid Boxer

    Joined:
    Nov 1, 2016
    Messages:
    233
    Likes Received:
    141
    particles likes this.
  3. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    336
    Likes Received:
    242
  4. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,347
    Likes Received:
    566
    cheers!
     
    particles likes this.
  5. whitedogapp

    whitedogapp Avid Boxer

    Joined:
    Oct 8, 2015
    Messages:
    291
    Likes Received:
    71
    DO u used Code?? or Bb functions?
     
  6. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    336
    Likes Received:
    242
    BB code
     
  7. gheorghe9512

    gheorghe9512 Boxer

    Joined:
    Dec 20, 2015
    Messages:
    66
    Likes Received:
    40
    Thanks bro
     
    particles likes this.
  8. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    336
    Likes Received:
    242
    Updated and Attached☝️with basic Camera Shake Node with existing Explosion bbasset, which can be reused in other projects.

    SKCameraShake
    • Adjust the speed of camera shake
    • Adjust maximum and minimum position
    • Adjust maximum and minimum rotation
    [​IMG]
     
    Last edited: Sep 21, 2018
    Taha Bisgin, Phil H and LBPToo like this.
  9. LBPToo

    LBPToo Avid Boxer

    Joined:
    Nov 1, 2016
    Messages:
    233
    Likes Received:
    141
    Another good one. Thanks!
     
    particles likes this.
  10. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    336
    Likes Received:
    242
  11. Steddyman

    Steddyman Boxer

    Joined:
    Sep 3, 2018
    Messages:
    51
    Likes Received:
    28
    Thanks Particles. Good job.
     
    particles likes this.
  12. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    336
    Likes Received:
    242
  13. Gamer

    Gamer Boxer

    Joined:
    Nov 17, 2015
    Messages:
    27
    Likes Received:
    12
    Hi @particles . I've tried drag and dropping your files into my open project but it's not working.
    can you please help.
     
  14. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    336
    Likes Received:
    242
    Not working means which one?
     
  15. LBPToo

    LBPToo Avid Boxer

    Joined:
    Nov 1, 2016
    Messages:
    233
    Likes Received:
    141
    Modified @particles' actor explosion to optionally delete debris after a set period of time. When/if we get API access to an object's Alpha channel it would be easy to add the option to have the debris fade away.
     

    Attached Files:

    nyamuk91 and particles like this.
  16. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    336
    Likes Received:
    242
  17. Brandon Humfleet

    Brandon Humfleet Boxer

    Joined:
    Aug 14, 2018
    Messages:
    66
    Likes Received:
    20
    @particles do you know how you would add an ease-in to the shake of the camera so you can control how soft the camera shakes?
     
  18. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    336
    Likes Received:
    242
    @Brandon Humfleet I think it is possible with easing function. But I haven't tried it but possible.
     
  19. Brandon Humfleet

    Brandon Humfleet Boxer

    Joined:
    Aug 14, 2018
    Messages:
    66
    Likes Received:
    20
    @particles thanks for the reply, i am learning to program, but i am not sure on how to do that, and i am also learning python and not JavaScript. so...yeah...pretty cool tho.
     

Share This Page