Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Problems with my first game

Author
Message
Ultimate Newbie
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location:
Posted: 24th Oct 2005 13:30
As I've looked in every thread of every forum on how to make an explosion, maybe I could go about it a different way. I have a revolving cube with one face (plain) attached to it. Does anyone know how I could make it disintegrate when struck? Or maybe just make it fall apart and the parts fall to the bottom of the screen. I don't want anyone to do the work for me; just point me in the right direction.
I would really appreciate any help.
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 24th Oct 2005 14:23
if u have milkshape,it has a tool to make your object explode.then u could animate your cube exploding in db.
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 24th Oct 2005 22:39
If you're just starting with DB, I'd suggest using the simple explosion of the FPS monster hunt tutorial on the developers network. (!DBC! - works for DBP too)

It shows how to use 2 simple spheres and texture them with a fire texture. In the game, the rotate and rescale the objects to make an explosion effect.

Immunity and Annihalation makes Immunihalation...
Ultimate Newbie
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location:
Posted: 26th Oct 2005 22:28
re Problems with my first game.
I found a wonderful particle/explosion/just about everything generator
at http://www.wondertouch.com/default.asp .
It's a tad expensive but the demo lasts forever and if you don't mind 640/480 output with a watermark then it's great.
Now would anyone be able to tell me why I can't get this bit of code to return to the beginning after I've either blow up, or missed my cube,
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 27th Oct 2005 20:48 Edited at: 27th Oct 2005 20:48
You're shooting code doesn't really work.
Some pseudocode:



Immunity and Annihalation makes Immunihalation...
Ultimate Newbie
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location:
Posted: 28th Oct 2005 11:47
Thank you; I'll work on that.
Ultimate Newbie
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location:
Posted: 29th Oct 2005 17:39
Surely there's someone in the world that can sort out this pathetic bit of code.
I've got a cube spinning with one coloured face. If the bullet hits one of the white faces it dissapears and is supposed to reset the game. If it hits the coloured face there's a big explosion and the game is supposed to reset. I'll get round to setting the scores as soon as I've learnt how. A for/next loop seems the way to go but it just doesn't work. Someone...please.
Mr Scarab
19
Years of Service
User Offline
Joined: 11th Jun 2005
Location: Kent, UK
Posted: 29th Oct 2005 23:05
Can ya zip the pics and sounds please, its a pain having to rewrite the lines that need them

Sig removed by Mod. Please do not use offensive language in your signature (sic).
Ultimate Newbie
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location:
Posted: 30th Oct 2005 03:07
I've never done this before. I hope all the media comes with this.
Ultimate Newbie
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location:
Posted: 30th Oct 2005 05:19
if this doesn't work I'd be grateful if someone could show this thicky how to compress and post zipped media.
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 2nd Nov 2005 01:41 Edited at: 2nd Nov 2005 01:45
IMO the only effective way to make an object actually "explode" is

1. Animate it exploding in a 3D modeler/animator

or

2. Use memblocks to change the 3d make-up of the object. Going by your name you aren't ready for using memblocks since they can get very complicated so I recommend getting something like Milkshapes free trial demo or if you have some cash handy 3ds Max (or even better Maya).

P.S By some cash I MEAN some cash, 3ds max costs like almost 400 dollars nowadays I believe and don't even get me started on Maya (mainly because I'm not sure what its going for now but Im pretty sure its more than a grand)

On the other hand off the top of my head if you want to create the really basic explosions some n64 games had just:

Create a small sphere
Texture it with a fire texture
Position it at the object to explode's position
Scale it larger and rotate it at randome angles every loop
When the sphere is bigger than the object exploding delete the object
Once the object is deleted begin ghosting the explosition sphere with a greater fade value each loop
When the sphere is unable to be seen either hide it or delete it.

Can't come up with the code right now I'm not on a computer with DBP and I'm too tired to think it up without the compiler fixing my stupid mistakes, but that's an idea.

Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 2nd Nov 2005 08:25 Edited at: 2nd Nov 2005 08:25
Well, modeling is a way...

But what you see alot in real games is that all effects use a plain that keep pointing towards the camera. By making some sort of animation on the plain, you get the idea of a real effect.

[edit] Try ExGen

Immunity and Annihalation makes Immunihalation...

Login to post a reply

Server time is: 2024-11-27 14:40:49
Your offset time is: 2024-11-27 14:40:49