Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Timofey |
i use CPUParticles2D, i want create some particles in place of a deleted object. Can you show the code how to do this?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Timofey |
i use CPUParticles2D, i want create some particles in place of a deleted object. Can you show the code how to do this?
Reply From: | Amateur.game.dev. |
Last week I stumbled upon a Super Mario clone tutorial, in which they show how to create a particle effect after a block is broken by the player.
https://www.youtube.com/watch?v=WUKkheFTzx4
I recommend skipping to 27:50 as that is where he begins going through the particle process.
Reply From: | anbarasu chinna |
Consider my scenario whereas I have a player shooting against enemy. For this use case I have created 3 separate scenes
But the moment bullet hit the enemy both bullet and enemy destroyed as expected. But what I want is the moment bullet hit the enemy there should be a explosion. Get the position of a bullet before calling queue_free() on it and show the Explosion scene on the position.
HERE COMES THE NEW SCENE
4. Explosion
although I myself have already found a way to solve this problem, but thanks all the same. I did as you said.
Timofey | 2020-09-13 11:20