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.

DarkBASIC Discussion / Kirby's vacuum effect?

Author
Message
Invincibob 8
17
Years of Service
User Offline
Joined: 4th Feb 2008
Location: Some Place Somewhere
Posted: 20th Apr 2008 00:58
I'm not at all good with particle effects, so could someone possibly help me create a vacuum effect for a Kirby game? What I mean is when random particles appear in front of him and shrink into his mouth. If you include a code, use a sphere and I can probably replace it with Kirby.

Seriously, are sigs even worth it?
NeX the Fairly Fast Ferret
20
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 20th Apr 2008 01:18
You might be able to replicate the effect using a transparent cone, embedded in Kirby as to create a funnel when viewed from outside Kirby.

I did once. ^^


I fail at life. No, really.
Invincibob 8
17
Years of Service
User Offline
Joined: 4th Feb 2008
Location: Some Place Somewhere
Posted: 20th Apr 2008 03:46 Edited at: 21st Apr 2008 04:09
So would I hide the cone when isn't inhaling and show it when is? If that's what you mean than I don't need to search any longer!
_____________________________________________________________________

It worked perfectly! Thank you!
_____________________________________________________________________

Now do you think you could help make it so the transparent cone can detect collision?

Representative of Platefield Productions ;v)
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 21st Apr 2008 09:14 Edited at: 21st Apr 2008 09:14
Just put a collision box around it and use "If object collision(Cone,enemy)=1"

Oooooops!!! I accidentally formated drive c.
Invincibob 8
17
Years of Service
User Offline
Joined: 4th Feb 2008
Location: Some Place Somewhere
Posted: 22nd Apr 2008 01:14
Wait, aren't collision boxes added by default?

Representative of Platefield Productions ;v)
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 22nd Apr 2008 09:11
Nope, you have to make them

Oooooops!!! I accidentally formated drive c.
Roxas
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 22nd Apr 2008 16:19
They are made automatically.. They just cant always be correct But Object Collision(a,b) works i can quarntee it.

Your signature has been erased by a mod because it was too big
Invincibob 8
17
Years of Service
User Offline
Joined: 4th Feb 2008
Location: Some Place Somewhere
Posted: 24th Apr 2008 00:41
Does it stop working if
?

In other words, will gluing it to a limb make it not work?

Representative of Platefield Productions ;v)
The Air Pump
17
Years of Service
User Offline
Joined: 12th Apr 2008
Location:
Posted: 25th Apr 2008 05:04 Edited at: 25th Apr 2008 05:06
It may not work. I haven't tested it.

Are the objects still considered two separate objects once they're glued together?

Also, if your intent is to have Kirby suck up an enemy and hold it in his mouth, you may want to try using code to hide the enemy once it's in his mouth, then use code to keep the enemy in the same place as kirby until it is to be spit out. Also, make sure the enemy doesn't damage Kirby while it's in his mouth.

By the way, you should try getting Sparky's Collision DLL. It's significantly better than DBP's built-in collision commands. I'll have to find the thread for you.

EDIT: http://forum.thegamecreators.com/?m=forum_view&t=74762&b=5

Try that link, it should get you to the right place to download it. The instructions for installing are in the readme. The demos have not been updated to the latest version, by the way, so be careful there. Of course, get the DBP version.
Invincibob 8
17
Years of Service
User Offline
Joined: 4th Feb 2008
Location: Some Place Somewhere
Posted: 27th Apr 2008 02:38 Edited at: 12th Jun 2008 21:26
Thanks, this is going to help me a lot!
__________________________________________

Will it work in Classic?

Login to post a reply

Server time is: 2025-06-07 17:06:35
Your offset time is: 2025-06-07 17:06:35