开发者

How to create explosion on collision

I 开发者_JS百科am creating game, in this a helicopter fires a missile it hit the target and the target and missile disappears.I want to show some kind of explosion when they collide.I heard there is some sort of built in function for this ?


Have you checked out the programmers guide? I would suggest looking into particle effects and even some of the open source games or code snippets provided by the community. I think explosions are not generic enough where there is something built in, but you can use the particle effect engine to easily create one.

Something else to consider is using the effects, which actually look pretty cool. You could probably do some kind of explosion by rippling a sprite of fire or something.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜