is there a way to break some part from object when its die ,i have tried particle but its just one picture it can't be part from the object , im asking when i destroy the enemy for example it cuts off to 5-8 parts and these parts keep getting small until they destroy , also when they cut off they do like a circle (same way of firework). you can edit this capx if it can be : http://dl.dropbox.com/u/67034121/scirra%20construct2/destroy.capx
thanks for reading ^^
by salem
There's no easy way to do this with C2. What you should probably do is cut it up in photoshop, then save each image as a frame in an explosion animation at speed zero.
sqiddster , i was thinking of this but i found the problem is how can i make them move like a firework from center of circle to outside or i also do that with flash???
There are a few ways to do that...
You can use physics...
You can use custom movement and play with the vectors. Simulate gravity and apply a random X and Y vector on creation.
Hope that makes sense to you!
Develop games in your browser. Powerful, performant & highly capable.
sqiddster , seems doing it with flash is much easier :P
Sure, but that will increase your download size! Plus your explosion will be exactly the same each time.
sqiddster , i don't know but the thing i want to do is it in 1 object so its not that much size , also i can put fade like in explosions on other games ill try it tomorrow i need to sleep its almost 6am z_z
What about creating the whole object with little ones pinned together ? Explosion is made by destroying pin and applying force to the pieces from a point situating in the middle of the cluster
is there a way to break some part from object when its die ,i have tried particle but its just one picture it can't be part from the object , im asking when i destroy the enemy for example it cuts off to 5-8 parts and these parts keep getting small until they destroy , also when they cut off they do like a circle (same way of firework). you can edit this capx if it can be : http://dl.dropbox.com/u/67034121/scirra%20construct2/destroy.capx thanks for reading ^^ by salem
You could use particles ?
View example
Capx
Change some of the particle's settings to suit?
Hope this helps.
chrisbrobs i really liked your work ^^ i edited it alittle but really good idea lol :P i know that wasn't what i was looking for but similar.