Hey everyone, i got a lil’ question. Me and my team are making a sport game and we want the crowd to generate camera flash. So i did a little particle system (so the flash look random in the crowd) and i drew an animated texture, in a circular way, like a camera flash. I tried to inspire myself from punch out on wii (http://www.youtube.com/watch?v=ZhucYjISNB8&NR=1)
You guys think it’s the good way to go? I was wondering if anyone had other idea. Thank you and have a nice day!
Here’s my idea too. Since the flash only lasts a second. Assign a flash texture to a plain, then instantiate the plain facing the player. Yield for a second or however long you decide then destroy it.
Particle systems are awesome for that kind of effect! Extremely cheap/efficient too.
There was a neat tip I saw mentioned in to Unity docs about making a custom mesh which is basically a bunch of verts placed where ever you want your particles to appear then use the mesh as the emitter. For your camera flash example it’d give you more flexibility than the spherical volume.
Another alternative might be to have one or two large textures laid over/in front of the crowd (like a screen) - the textures could have the camera flash effect on them, likes stars on a transparent background. Then just randomly set the offsets and visibility of the textures at irregular intervals…? That would be pretty efficient.