Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Exploding bullets.

edkeyte
Registered User
Quote
2012-06-04 07:50:43

Hello, I've just got CopperCube last week and love it!

I'm trying to make a bullet explode when it hits anything such as a model or wall etc.

For the explosion I'm using a billboard with multiple animated textures and transparencies in the texture files thus creating a nice realistic explosion but how can I get it to re-position itself and appear as an explosion in the exact position of the bullet when ever the bullet hits something?

I have a demo here: http://www.queenseng.com/Shoottest.html

You can see the billboard explosion animation and you can press the Ctrl key to shoot.

Anyway, I love CopperCube!

Cheers.

Edward.


niko
Moderator
Quote
2012-06-04 20:18:22

For now, I personally know no way how this could be done easily using only actions and behaviors, I'm sorry. But there are some very creating people in this forum who created stuff in CopperCube which I didn't think were possible, so maybe they know a way. :)


fifkid
Registered User
Quote
2012-06-04 22:54:18

have you try ed using shoot. I have it now when you shoot the cars or if they hit the bombs in killer raceway it explodes right where they are. If thats what you are looking for let me no I am always on my chat on my website http://www.kurschnerent.com/


edkeyte
Registered User
Quote
2012-06-05 00:36:08

Hi Thanks for the replies, Cheers fifkin, this is a demo video recording of what I'm trying to do:

http://www.queenseng.com/shootertest01/shootertest01.html

I didn't use CopperCube to make this demo level but I hope coppercube can do this so I can produce my games on the web in flash instead of just windows like so many other game makers out there.

Ed.


tim12345
Guest
Quote
2012-06-05 16:58:17

I have tried several different ways to get the bullets to explode but with no success. Perhaps you could do it through coding. Objects that get hit by the bullets however, can be made to explode easily.


fifkid
Registered User
Quote
2012-06-06 01:10:10

@edkeyte ok I updated battle of the Juggernauts see if this is what you are looking for. I did not have much time do work on it but will refine it tomorrow. http://www.kurschnerent.com/batt...

TheElk


edkeyte
Registered User
Quote
2012-06-06 02:12:40

Thanks fifkid!!

Your demo is exactly what are wanted! I like it. So how did you get the bullets to explode?

I have a lot to learn about making games with CopperCube.

I also use FPS creator and the 3d game maker which I both love but they can't export games into flash and for Mac etc like coppercube can.

I also love how easy it is to import 3d models into CopperCube too especially animated models!

Thanks a lot!

Ed.


edkeyte
Registered User
Quote
2012-06-09 13:56:50

So fifkid,

Could you give me a tip as to how you were able to do the explosion ?

Thanks.

Ed.


fifkid
Registered User
Quote
2012-06-09 22:29:29

@edkeyte I give all credit to Bob I used his Ideal located here http://www.ambiera.com/forum.php... .

If you still need any more help or if anyone needs help I have a irc channel that we can all help each other on our projects it is located here you do not need a password. so come and say hi.

http://qchat.rizon.net/?channels...


TheElk


tim12345
Guest
Quote
2012-06-09 23:17:17

Nice tank game, but I didn't see any exploding bullets.


edkeyte
Registered User
Quote
2012-06-10 03:43:30

Thanks fifkid for helping me solving the exploding bullets. To help others do this we discovered that it seems to work best using the 3rd person camara but not using the first person view wich is what I was using at first. Anyway I prefer using 3rd person so all good!


hello
Guest
Quote
2020-12-24 08:34:47

how do i make a wallrunning in coppercube


unlem
Registered User
Quote
2020-12-24 08:47:06

the link is broken :-(


veganpete
Registered User
Quote
2021-01-08 10:17:50

Another two methods are:-

1) In "shoot" options, have a "move position to last bullet impact" action, to move your explosion animation to the place of the last bullet impact. Then delete the bullet (or make it invisible).

🔎︎


2) For quick 2D explosion/splatter effects, you can simply scale the size of a single transparent _png image, using a particle effect to make an animation - instead of using multiple still-framed-sprite sequences to make a traditional 2D animation.

🔎︎


You can use the same method for adding damage/debris - just move a single 3D plane (with a suitable transparent "debris.png" texture) or a particle effect (for fire/smoke) to the site of the last bullet impact.

...Like you, I had initially used frame-by-frame 2D sprite animations for every separate explosion - but I found that it slowed the FPS way too much as I added more and more animations - as a solution (illustrated above), I now just recycle a single 3D explosion animation and a single-frame "blood spatter" particle effect for every explosion - I just move them to the site of last bullet-impact and make them visible/invisible as required. This helps to keep the game's frame-rate smooth and makes it easier for me to manage the animations.

Download the playable demo [58.7MB] *Game isn't finished but explosion animations and fire effect are working....
https://drive.google.com/file/d/...


ngame
Registered User
Quote
2021-01-08 11:18:05

There is a video on this topic on my channel. I will add English subtitles soon. You can subscribe to the channel so that you don't lose it.
https://www.youtube.com/watch?v=...


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inte?national" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact