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 / Particles Help

Author
Message
citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 1st Feb 2007 02:54
i am working on learning the program right now, and what i have is a sphere that you can move around in space. i want to make particles come out of it when i press spacebar. is this possible? well of course it is i am just a newb and have no idea how to do this.
if anybody could help me then that would be great help to me. here is my code if you would like to see what i have made so far...


thx
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 2nd Feb 2007 06:41
You still haven't stated which version of DB you are using - like I pointed out in your other post.

http://forum.thegamecreators.com/?m=forum_view&t=23169&b=7

This is particularly relevant with particles as one version supports them natively and the other doesn't.

No-one is going to waste time offering you a solution in case it's not going to help you.

Tell us and we can point you in the right direction!

TDK_Man

citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 3rd Feb 2007 02:19
Okay, i am using DB Pro. Does that help?

thx
citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 3rd Feb 2007 02:24
so back on the topic of adding particles.

thx
Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 3rd Feb 2007 11:16
first of all, always use sync rate 60 not 0
second fastsync is better to use instead of sync
third here is a basic particle effect, heres the controls
- Press <SPACE> and hold down to emit particles from the player
- Press <Z> to add color to the particles they will be rainbow if you holding down <Z>

and heres your code good sir




and no if your going to ask i don't want any credit. happy coding

~Kieran
citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 5th Feb 2007 23:57
thanks a lot! this really helps!

thx
citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 6th Feb 2007 02:53
how can i make particles to spin around my object without pressing any buttons?


thx
Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 6th Feb 2007 08:49
here ya go citybee i added it to the previous code i posted



~Kieran
Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 6th Feb 2007 08:51 Edited at: 6th Feb 2007 08:57
and heres a very cool effect you can add to that



~Kieran
citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 7th Feb 2007 02:15
thanks so much, you are the coolest! and youve only been a member since last august. you are my hero!

thx
citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 7th Feb 2007 03:44
Kieran, i am in 8th grade and i am in an academy called Capstone. it is where you take a talent or something you want to improve on and make it into a school year long project, i am doing game programming. to be able to do this i need a mentor. will you be willing to be my mentor. this capstone academy helps me get into a good college. if you are not able to be my mentor or dont want to be then that is ok, but i am asking as a fellow programmer.

thx
Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 7th Feb 2007 05:10 Edited at: 7th Feb 2007 05:10
i would love to but you may wanna change mentor after a while because i dont know everything about dbp if you have msn add me and ill help you

btw i just taught myself how to do particles just for you because i had to look it up in the commands... but i don;t mind its good knowing how to do particles

~Kieran
Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 7th Feb 2007 05:21 Edited at: 7th Feb 2007 06:34
download this attatchment and put it in the same folder as this code and it will add a cooler effect...



that will make a nice effect...and i must say THIS IMAGE IS NOT MINE I GOT IT FROM TDK's TUTORIAL TO HELP CITYBEE ONLY if TDK doesn't like this ill gladly remove it

btw if this doesn't work then tell me, ill fix it

EDIT: besides tutoring you helps me learn too i've learned particles thx to u already

~Kieran

Attachments

Login to view attachments
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 7th Feb 2007 10:35
No, I don't mind you using the image as you gave credit for it.

For anyone interested, it came from the Particle Tutorial here:

http://forum.thegamecreators.com/?m=forum_view&t=99390&b=10

But note that it's for DB Classic - not Pro (Pro has specific commands for particles that DBC doesn't).

TDK_Man

Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 7th Feb 2007 18:20 Edited at: 7th Feb 2007 18:21
k thx TDK im sure people (especially citybee) will appreciate it in advance

~Kieran
citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 8th Feb 2007 02:22
thanks kieran, and thanks TDK, i like your tutorial.

thx
citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 8th Feb 2007 02:55
try using this one with backdrop off.


and try moving around
it is really cool

thx
citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 8th Feb 2007 03:33
is this a correct code?




thx
Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 8th Feb 2007 04:42
very nice citybee and yes i think that code is fine.

~Kieran
citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 9th Feb 2007 02:21
ok, thanks.

thx
citybee
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location:
Posted: 9th Feb 2007 02:59
did you get my email kieran? i emailed your msn.

thx
Kieran
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location: Hamilton, New Zealand
Posted: 9th Feb 2007 04:58
yup thx, better not turn this into a chat session, talk on email

Ankillito
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Litigious California
Posted: 18th Feb 2007 02:32
Is there any way to change the size of the particles? On another program I'm working on they're too small...

Got any more magic left in you Kieran?

"There will always be evil, for, without evil, the good shall lose their virtue."

Login to post a reply

Server time is: 2024-09-25 17:27:18
Your offset time is: 2024-09-25 17:27:18