tipforeveryone Posted March 14, 2018 Share Posted March 14, 2018 Hi everyone, I found this video on youtube, do you see the smoke effect when bullet hit ground, it looks awesome. Anyone has any idea how to make one ? Quote Link to comment Share on other sites More sharing options...
cassius Posted March 14, 2018 Share Posted March 14, 2018 You can make smoke in the editor using particles. I made smoke and fire by just playing around with property values. It came right in the end. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
tipforeveryone Posted March 14, 2018 Author Share Posted March 14, 2018 I made my smoke using particles too, it looks great but im not satisfied after watching the video, sothat I ask for ideas to how to create the same one as video. This smoke is so different Quote Link to comment Share on other sites More sharing options...
gamecreator Posted March 15, 2018 Share Posted March 15, 2018 You can also literally draw out anything you want with animated sprites. That's how many of the effects in popular games are done (like hit, magic, etc.). For example, a guy here talks about how he did effects for League of Legends: 1 Quote Link to comment Share on other sites More sharing options...
tipforeveryone Posted March 15, 2018 Author Share Posted March 15, 2018 Thanks, I will give this a try Quote Link to comment Share on other sites More sharing options...
Genebris Posted March 15, 2018 Share Posted March 15, 2018 You need to simulate smoke in Blender or somewhere else and render it into a sprite sheet. Quote Link to comment Share on other sites More sharing options...
Josh Posted March 15, 2018 Share Posted March 15, 2018 Yes, the reason it looks good the particles are using an animation of smoke spreading. We support this, but you need to come up with the artwork. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
burgelkat Posted March 16, 2018 Share Posted March 16, 2018 thats a good video .. but how can i control the pictures in a sprite sheet? the spritesheet shader like the "firepit" shader from shadmar starts random in the individual pictures of a sprite sheets. In the case of fire this is not a problem, with explosions or with Gun Effects it should begin however with the first picture. I have such a spritesheet (muzzleflash .. a bullet and smokes but it does not start on the first picture. And creating an effect with maybe 20 seperatly bictures is a bit exhausting (I hope you understand my english ) Quote Link to comment Share on other sites More sharing options...
gamecreator Posted March 16, 2018 Share Posted March 16, 2018 Does the firepit really start random (I don't know)? If it does, it seems like that could be changed in the shader code. Beyond that, there is probably a program or two out there that helps with animating things like this and batch exporting individual frames for you. I believe you can also copy pixels from one texture to another so you can also separate a sprite sheet into multiple textures that way. Quote Link to comment Share on other sites More sharing options...
burgelkat Posted March 16, 2018 Share Posted March 16, 2018 mhm or the problem is because we create the sprite and hide it .. so the material on the sprite is set and run the spritesheet pictures in the backround .. if i now show the sprite and at this moment the 4th picture is displayed, then it looks bad Quote Link to comment Share on other sites More sharing options...
burgelkat Posted March 16, 2018 Share Posted March 16, 2018 ok something like this .. (its not perfekt) https://www.dropbox.com/s/atjdn8xc7ef5os8/BehindEnemyLines 2018-03-16 09-19-46-90.avi?dl=0 Quote Link to comment Share on other sites More sharing options...
Josh Posted March 16, 2018 Share Posted March 16, 2018 You can set the number of animation cycles: https://www.leadwerks.com/learn?page=API-Reference_Object_Entity_Emitter_SetAnimationCycles I think it will start at frame 0 if only one cycle is set but I am not sure. If that is not the case then I will change that to be the default behavior. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
tipforeveryone Posted March 16, 2018 Author Share Posted March 16, 2018 This is what I made today with you guys's suggestion, It looks quite right. What do you think ? 3 Quote Link to comment Share on other sites More sharing options...
burgelkat Posted March 16, 2018 Share Posted March 16, 2018 ok looks with that nice. at the moment only single-shot looks good .. i have to build a spritesheet without a bullet shell so thats my solution for the moment FPSGun.lua Quote Link to comment Share on other sites More sharing options...
Josh Posted March 16, 2018 Share Posted March 16, 2018 @burgelkat you should make the particle start off small and grow, and the fade-in takes too long. That might be your animation or it might be your alpha curve. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
tipforeveryone Posted March 16, 2018 Author Share Posted March 16, 2018 Wow what a long code content haha, this may make this topic really hard to read, can you attach a text file instead ? 1 Quote Link to comment Share on other sites More sharing options...
burgelkat Posted March 16, 2018 Share Posted March 16, 2018 Here the sprite sheet if someone will use it thx josh will try your hints 1 1 Quote Link to comment Share on other sites More sharing options...
tipforeveryone Posted March 18, 2018 Author Share Posted March 18, 2018 Finally 4 Quote Link to comment Share on other sites More sharing options...
Josh Posted March 18, 2018 Share Posted March 18, 2018 Looks fantastic! Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Thirsty Panther Posted March 18, 2018 Share Posted March 18, 2018 Nice. Also has a massive magazine 1 Quote Link to comment Share on other sites More sharing options...
slick29 Posted May 7, 2018 Share Posted May 7, 2018 Any chance I could be pointed to any more details on Leadwerks and sprite sheets? Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted May 8, 2018 Share Posted May 8, 2018 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.