Unitips : Destroy Particles (clones)
Project : Don't Fall » Devlog
It's just my way to do or what i found on forums
If you have a better or easier way to do it, i will very enjoy to know it ;)
1 - When the Player die, clone of particles is created in the hierachy. It's stay and rising each time the player die
2 - I find on the Unity forum the solution
3 - So i try and it's work (thanks the forum)
Player Die :
Destroy(Instantiate(dzRed.gameObject, transform.position, Quaternion.identity), 1f);
Player Spawn :
Destroy(Instantiate(psParticles.gameObject, transform.position, Quaternion.identity), 1f);
Project : Don't Fall
Please, try to not fall
Status | On hold |
Author | HsArHt |
Genre | Platformer |
Tags | 2D, die-and-retry, Difficult, Experimental, Indie, Minimalist, Singleplayer, Speedrun, Unity |
More posts
- Unitips : Animation highlighted for button panel (Selected First & Paused)Sep 10, 2023
- Unitips : Sprite Material and add to Particle SystemAug 31, 2023
- Unitips : Multiple Particle Sprites (Sheet)Aug 31, 2023
- Unitips : Painting Prefabs (GameObject Brush)Aug 31, 2023
- DevLog#1 : DEV IN PAUSEDAug 31, 2023
Leave a comment
Log in with itch.io to leave a comment.