- Home /
Splash dots on the ground
Hello, i want to make a simple top-view shooting game, and i want to make the enemies splash blood/paint on the ground when killed. I want to make the paint stay on the ground until the player dies. A good reference is the Blood Splash from "Super Meat Boy", but i have no clue to start.
Answer by noorudheen · Aug 11, 2015 at 07:24 PM
get the position of killed enemy
Instantiate a prefab of blood splater particle system over there
attach a self destruction script to the prefab
And this way will be any performace problem if theres a lot of these?
depends on the particle system you instantiate and how fast it gets destructed.This is the usual way of doing it.
So, its not efficient if i wanna to paint the ground in a large area, right?
that is a good idea as well if u r not concerned about the effect and is only looking in to the performance
The idea is making red squares as enemies and when they dies, they paint the ground, so the the next red squares will be harder to see. So, if i make alot of particles, in some time will be laggy, i think... Some guy suggested to use decals. but is good to use decals of squares to paint all the ground?
Your answer
![](https://koobas.hobune.stream/wayback/20220611235413im_/https://answers.unity.com/themes/thub/images/avi.jpg)