Search the Community

Showing results for tags 'particle system'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Coding and Game Design
  • Frameworks
    • Phaser
    • Pixi.js
    • Babylon.js
    • Panda.js
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Found 9 results

  1. Hi, I am try to use particles in my code. so i have registered it like this "me.pool.register("droplet", game.dropletParticle, true);" and in my entity.js i have written "game.dropletParticle = me.SpriteObject.extend({ init: function(x, y) { // class constructor this.parent(x, y, me.loader.getImage("droplet")); }, game.startEmitter = function(x, y, count) { // add count particles in the game, all at once! for (var i = 0; i < count; i++) // add the particle in the game, using the mouse coordinates and game layer 5 // use the objects pool for better performance! me.game.world.addChild(me.pool.pull("droplet", x, y), 5); };" i have mentioned the image in resources.js as well but I am getting the following error ---me.Error: Cannot register object 'droplet', invalid class--- all my other images i have used tmx file. Can someone help me here!!!
  2. It seems that preventAutoStart no longer has any effect... I have babylon scene with preventAutoStart set to true but they still auto start. Anybody else having this issue?
  3. @Deltakosh or @Sebavan or @RaananW Anybody got any idea how i make jet flame particle system ... I have a texture for the flame... But i have no idea what NUMBERS (all the babylon particle system properties like emit boxes and min and max start, etc...) to use to make a flame for a a space ship jet flame. Is there some CYOS type deal for particle system...??? Is there some examples for different kind a particle system that can be created with "Specified Settings"... ??? Or anything that show a beginner how to make various particle system... What is the rhyme and reason to the setting the particle system numbers ???
  4. Hi @Temechon How are you,.I purchase the babylon.js  book and the code samples so please point me in the book how I do this je je , by the way thanks for making book for your help in advance.

    ABOUT ME : Im a javascript programmer with experience in angular and js framework, but I'm new to blender and the 3D World (1 month using blender), I love babylon it's all in javascript.

    I have been working with many 3D SDK's and platforms, but all comes to the same problem, animation issues.

    I try Blend4Web but they want $999 for the technical support and there is little info about sample code, but they have an addon that exports JSON/Bin files  and if I bake every single mesh animation it will work but I think it crashes blender after baking 10 parts of the mesh a 720 frames each.

    B4W.JPG

     

    then I try Play-Canvas (adult content) , it has VR camera ready and you can upload FBX files, so what I use to do is to Upload an FBX files for the mesh and another FBX with mesh and animations,  I delete it all in the one with the animation  and I use the just animation combined with the FBX with no animation and it works, but the platform is that it do not  accept may polygons meshes and you have to decimate making this more difficult and time consuming but works.

    I would like to try the previous method in blender but I dont know how can I combine the FBX files with the animation exported in a separate FBX in blender, so I can repeat this process on playcanvas .

    MY METHOD SO FAR so I also I import an alembic file

    Finally I created a .babylon file using alembics with cache vertex animation, http://brandsocialguru.com/files/RobDancer.abc , 

     

    here is information links for my files 

     

     it possible to do it with an vertex animation cache , meaning with out bones like an alembic file, I import the file into blender the animation plays well but I try the animated and its no working

    I created a .babylon file and added the animation attributes, e.g.' autoAnimate ... ' see below, then I drop the file in the sandbox

        "autoAnimate": true,
        "autoAnimateFrom": 0,
        "autoAnimateTo": 50,
        "autoAnimateLoop": true

    I tried before CTRL + A and add location, rotation, scale, and it worked on a simple animation

    http://brandsocialguru.com/files/cube.blend

    http://brandsocialguru.com/files/cube.babylon

    I repeat the same with my files and it does not work :( 

     

    the files are big so please download it from this links the first one is the alembic the other ones are FBX and a BVH to capture the animation and also below I put pictures of my export options and the cube babylon code animated ready  http://brandsocialguru.com/files/RobDancer.abc ,http://brandsocialguru.com/files/motionBUilder.fbx ,http://brandsocialguru.com/files/RobForum.fbxhttp://brandsocialguru.com/files/RRobForum_motion0.bvh

     

  5. Hi everybody! I was wondering about which properties of particle systems are most resource-consuming and how we can optimize particle systems in general? Thanks...
  6. Hi guys, I'm trying to add particle system in Phaser now and I have a software called Particle Designer, which I use a lot when I develop in other 2d game engines. But I couldn't find any resources to do it since all example are using emitter to set the property manually and it's hard to see the effect right away. And the reason why I ask this because I found that the developer said Phaser is going to support this software long time ago, so I just wanna make sure is there a way to make it work with Particle Designer. Thanks a lot.
  7. I wanted to add physics to the emitted particles for fluid simulation but I don't think Babylonjs has that kind of capability as of now. Is there any workaround for this? Basically, I want to simulate a waterfall, and the particles emitted would strike the stationary pond/water. I figured, using the meshes for this approach would hamper the performance too much. So, manipulating the vertex array for this might be a better option I think. How do I simulate this effect?
  8. Hi again. I'm working with particle systems at the moment and have a specific effect that I need. Essentially it is a sun that has been created with one particle system inside of a nebula which is another particle system. The problem is that they are not depth sorted in anyway, so particles from one system will always be drawn in front of the other system. The order is determined by the particle system creation order; the last system is always drawn over the previous system. Does anyone know if BabylonJS has the ability to specify sorting for particles? I can't find anythin in the particle system code, but thought there might be something more generic elsewhere, or will I need to add support for that myself?
  9. Please recommend flexible particle system engine. That can easily use with custom visualization. Plan to use with game engine https://github.com/darlingjs/darlingjs