I was messing around with some ideas the other day and I decided to work on some visual effects. If you played Castlevania, you notice that when you get hit or die, particles of blood spray from you randomly other than using a pre-made sprite. It gives it a more realistic feel and makes it look neater, in my opinion.
What I ended up doing to replicate that effect was spawning multiple instances of the same object and changing the pixel_x and pixel_y randomly of each object. I hard-programmed that 10 different objects spawn when the proc is called.
My question to you is: Would this be a good method to achieve this, or is there some sort of issue that should be taken into consideration when creating that many objects at the same time? Also, is there a method to spawn multiple objects at the same time without having to hard-code them?
Jun 15 2009, 10:47 pm