rossi46 Posted November 8, 2017 Share Posted November 8, 2017 How to create effect lines line this. I attack images. Line have change position. Thanks Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 8, 2017 Share Posted November 8, 2017 Ask artist to make several states for each thingy, swap the textures when you need it. Its photoshop issue, not pixi. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 8, 2017 Share Posted November 8, 2017 As for line, it looks like animated sprite too, you just have to adjust the size and angle each time. Those kind of effects are using ADD blendmode. Quote Link to comment Share on other sites More sharing options...
rossi46 Posted November 8, 2017 Author Share Posted November 8, 2017 30 minutes ago, ivan.popelyshev said: As for line, it looks like animated sprite too, you just have to adjust the size and angle each time. Those kind of effects are using ADD blendmode. Here is another example. I think it is particles, but i don't know how to do it. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 8, 2017 Share Posted November 8, 2017 I suggest neutrino particles editor (https://neutrinoparticles.com/), it has pixi runtime. And again, it looks like animation. As for line, just spawn enough small particles in `PIXI.particles.ParticleContainer`, you can use basic "pixi-particles" (https://github.com/pixijs/pixi-particles) for this, just move the emitter through that line. Quote Link to comment Share on other sites More sharing options...
themoonrat Posted November 8, 2017 Share Posted November 8, 2017 Again, for the example you showed, those 'particles' are just part of the sprite animation of the winning symbol. Quote Link to comment Share on other sites More sharing options...
themoonrat Posted November 8, 2017 Share Posted November 8, 2017 I'd recommend loading the game up in Chrome, with dev tools open, and looking at the network tab. After the game has loaded, you'll be able to sort by type, and see what textures the game has loaded, which then gives you a fair idea of how they are used ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 8, 2017 Share Posted November 8, 2017 @themoonrat he talks about LINES, and lines look like particles @rossi46 if you really want particles, use pixi-particles or neutrino particles and change emitter position over time themoonrat 1 Quote Link to comment Share on other sites More sharing options...
rossi46 Posted November 10, 2017 Author Share Posted November 10, 2017 On 11/8/2017 at 10:04 PM, ivan.popelyshev said: @themoonrat he talks about LINES, and lines look like particles @rossi46 if you really want particles, use pixi-particles or neutrino particles and change emitter position over time ok thanks. i will try and post result here for your help. 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.