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.

Program Announcements / Particle Sandbox

Author
Message
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 15th Aug 2010 03:48 Edited at: 6th Mar 2011 06:06
Particle Sandbox is a particle design progam I've just finished. It's very basic, using the DBPro particle commands, but it should give a new DBPro coder a place to start with particles.

You can download it here.

Here's the source code, feel free to mod it.

source code with media


And here's a screenshot:


I'd love to read any comments, questions, or suggestions on how to improve it.

Bursar
16
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 15th Aug 2010 11:36
I've had a play with it, and for a few days, it's an impressive bit of work.

There are a couple of features that I'd like to see added. The first is the ability to load your own images for the particles, and the second would be to have multiple emitters so you can combine effects.

A great advanced option would be the ability to grab the emitter and move it around the screen with the mouse. That way if you were trying to create smoke trails, you could see how they look coming out of a moving emitter.
tschwarz
19
Years of Service
User Offline
Joined: 13th Feb 2005
Location: 127.0.0.1
Posted: 16th Aug 2010 21:44
Comments: Great job, looks and works well. Suggestions: Load your own particle image, adjust emitter start location, and maybe the ability to choose a background image.

Shall we play a game?” - Joshua
swissolo
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 17th Aug 2010 00:28
Agreed. Oh also, ajusting the angle the particles come out at could be another option, good work.

swis
Bursar
16
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 17th Aug 2010 00:50
Using the aX, aY and aZ buttons, you can adjust the angle of the emitter, but as Rich has found out, the particles 'fall' towards the base of the emitter rather than straight down to the ground.
swissolo
14
Years of Service
User Offline
Joined: 9th Jan 2010
Location:
Posted: 17th Aug 2010 02:00
oh, sorry, I didn't pay attention to those.

swis
bergice
17
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 17th Aug 2010 16:08
Great work!

9cdfb439c7876e703e307864c9167a15
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 21st Aug 2010 12:11
Can i import the particles made in this to db pro??

Srry about my english im from sweeden
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 21st Aug 2010 14:12
Quote: "Can i import the particles made in this to db pro??
"


The Zoq2 - that is exactly what this program is designed to do! Once you have a particle emitter that you like, click the "SHOW CODE IN NOTEPAD" button and you can then copy and paste the code for the particles into your own program.

I like to keep clickin the "Randomize" button until I get a particle emitter that looks cool to me.

The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 21st Aug 2010 16:27
Yes I saw that

This is awsome just wat i needed...

Srry about my english im from sweeden
Stormwire
14
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 11th Sep 2010 00:45
Works great! Excellent job I have the same requests as others have already stated. Other than that I will definitely be keeping an eye on this!
Particle Sandbox
14
Years of Service
User Offline
Joined: 1st Nov 2010
Location:
Posted: 2nd Nov 2010 06:28
Ya this is a great toy, i’ve played many versions of this type of game, as Im sure you all have, this one is so far superior to the rest, I’ve played thiis one before just on version 2.3 or somin, i like the new add ons.

Free Mcx Tips Trial
bergice
17
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 2nd Nov 2010 14:08
Any chance you can add parameters for making fire and snow particles too?

And maybe also rotating the camera with the mouse to orbit around the particle.

Oh and setting the particle image.

If these features are granted i will be a happy person.

51fa1db0ec7c4af52d93a6f5d0e86bc5


Davel_Kerriel
14
Years of Service
User Offline
Joined: 4th Nov 2010
Location:
Posted: 4th Nov 2010 23:01
Very cool program.

Thank you for sharing.
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 7th Nov 2010 20:27
Nice work! This is a really useful program, thanks!

Adding a selectable texture, and maybe a way to rotate the camera would be the icing on top

TheComet

Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 15th Nov 2010 11:59
Thats looking great!!!

But is it possible that it would export it to a txt file, like .psb (Particle SandBox), with the settings required, so we can use it for an engine?

Thanks in forward,

Greets!

Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 15th Nov 2010 12:57
Quote: "But is it possible that it would export it to a txt file"


When you hit the button marked "SHOW CODE IN NOTEPAD" the code is displayed as text in notepad. You can save it with whatever name you like. Is that what you are asking?

Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 16th Nov 2010 17:34
Well more like:

Particle Specs:

Particle_one;
{
Speed:100;
....
}

(or any way to write it down in exporter)...

But something another engine could read.

TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 17th Nov 2010 13:50 Edited at: 17th Nov 2010 13:51
@ Red Eye

You will have to specify EXACTLY what you want, how the file should be exported (structure), and what has to be inside the file. And furthermore Rich Dersheimer will have to want to code it, unless he has released the source code

That, or you could write an interpreter in your own language. It reads in the DBP code which was exported from this sandbox, and "converts" it into the language you need. That would be the easier solution.

TheComet

Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 17th Nov 2010 22:08
As I dont want to bother Rich Dersheimer I will just write some code to read the txt file.

Thanks, anyway.

gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 5th Mar 2011 19:26
Rich Dersheimer nice program
this will speed up my projects ;o)

If a thought is Just a thought ~ so whats the main thought ?
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 6th Mar 2011 05:30
@Resourceful - thank you, glad you can make some use of it!

gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 6th Mar 2011 05:41
umm I tried to run it but my avg anti-virus is telling me it is a
"Trojan horse Clicker.AOKM

and i have it set to auto remove

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 6th Mar 2011 05:57
I had to tell the avg to ignore it as such and it worked fine
until I move it some ware else on my hard drive that is

just wondering how come you had it post to note pad and not save as a file ?

the other thought is that it could have been loaded in again and changed instead of starting over from scratch

If a thought is Just a thought ~ so whats the main thought ?
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 6th Mar 2011 06:03 Edited at: 6th Mar 2011 06:07
It actually does dump to a file, then opens that file in notepad. Look for DUMP.TXT in the program's folder.

I haven't made any improvements on the program, and I'm not likely to, as I don't use the basic DBPro particles very often.

But... I didn't want to post the source code, since I programmed in an easter egg, and didn't want to spoil the surprise. But its been a while, so here's the source:

source code with media

Feel free to mod it up however you like!

gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 6th Mar 2011 06:34
thanks

I've got several things I am working on right now
this will be added to my increasing list ;o)

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 6th Mar 2011 08:13
I've gone though this post

and here is what I will add as I understand how too

set start location
adjusting the angle

make fire particles
making snow particles

Adding a selectable texture

multiple emitters particles

rotate the camera

load completed file
save completed file

I'll make use of the space about the activity window
to add in the new options

I've only dun one tiny tweak
that is for it to maximize use of the full display

and it seems the new exe that was made dose not have the virus problem that showed up with the original

if any one else has ideas that were mised
for expansion please post them

If a thought is Just a thought ~ so whats the main thought ?

Attachments

Login to view attachments
gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 6th Mar 2011 08:19
I just came up with one thought I missed

showing a center location point
so you will know ware the particle will show up

I think what "Rich Dersheimer"
had in mind when this was built was are a single activity

ie fire , explosions

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 6th Mar 2011 19:23
I'm slowly getting closer to tiny additions

I've moved the text response when a button is clicked
to the title bar and the reason for this is to give more space
for new buttons that are coming

the Easter egg will be left in place ;o), I'm considering adding my own

one thing I'm trying to do is show that the button has been pressed
the sound for it gets to be a bit much after a time epically when the mouse button is held down

when the program is first run what is in place now will stay
but as the requests for additional options that will be there
and the extra one I think would help

I know when saving a file I will need to add a tiny line pointing
to media to be loaded

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 7th Mar 2011 04:45
attached is a screen shot of what
I have dun since early am today

I moved things up
and move things else ware

then I can add in the final peaces

If a thought is Just a thought ~ so whats the main thought ?

Attachments

Login to view attachments
gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 19th Mar 2011 19:18
just to let every one know
things are progressing

there will be a save and load button's

I'm working on the format so the program knows what to do

the menu system is being rebuilt to give back space
so other commands can be added

that is the part that is slowing things down

what "Rich Dersheimer " originally created was a good start
but I think it takes up more space than needed

what I got planed is

"text - +"
only the "- +" will be clickable and will show the change when it happens

that ware things are at

If a thought is Just a thought ~ so whats the main thought ?
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 20th Mar 2011 11:50
@ Resourceful,

THis is looking v promising. Thank you for your effort in pushing it on.

Will it support loading in of textures for particles?

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 20th Mar 2011 16:01 Edited at: 20th Mar 2011 16:07
@Resourceful - you could save a bunch of space by taking out the color wheel, and just adding a button to open up the windows color picker. =PRoF= posted some code to do this, but it requires IanM's matrix Utils, which I hope you have!

Here's a link

also, there is code around for opening the windows file save/load window.

Here's one example, at the bottom of the thread

gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 20th Mar 2011 17:57 Edited at: 20th Mar 2011 20:59
Hi all
things are progressing but there are a few reworks and finding
other ways of doing things that are taking some time to work out

the click on buttons are good but I know they can be dun better

"Duffer" ;o)
textures for particles is one of the additions to come

and from what I have seen will be simple to bring to it
the menu for it is ware I am stuck a bit

"Rich Dersheimer" I would like to keep the color wheel
it would make picking a color much easier

I am combining 10 similar buttons which cuts down the space needed
and then I can add more to it

basicic format "function name " then the 2 buttons which are clickable

for what this program is suppose to do
the quicker a partial can be created the better

I want to be able to have mutable participles go at the same time
but this might be more than I'm ready for at the moment

I still want to add in the snow and fire
there are a 3 extra spots that I have to understand how to add
before I can add them in

the Randomize button will either be expanded or duplicated to
have things work correctly

I'm not fond of the "IanM's matrix Utils"
they seems to conflict with other add on that I have

I know dbp has commands what will work
some ware in my vast archive I have code for menu's but it's
going to take me some time to find it and build it in

If a thought is Just a thought ~ so whats the main thought ?
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 20th Mar 2011 21:05
@ Resourceful - good stuff, will keep an eye on this thread

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 3rd Apr 2011 04:10
just to let every one know

I am realigning the final layout for buttons and related functions
and adding in a couple of tiny addtions

I hope to have it finshed before the end of this weekend

the other things I want to add will take me a bit longer
as I am having to try and find the extras fit with the layout

left to build in
graphic showing center - it can be turned on or off
movable camera
load image for particle
create and control more than 1 particle set

save completed code so that it can be access as a function

save particle data so that it can be loaded in anther time and changed

load other back grounds

create fire and snow
more buttons to be built for those two

button being pressed I want to put in as the sound of
such gets to be annoying after a wile

I found a few examples and got my own though on that

I do not think there is more to be added
if I do come up with something I missed I will post

if any one else has idea's that I missed please post

If a thought is Just a thought ~ so whats the main thought ?
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 3rd Apr 2011 09:26 Edited at: 3rd Apr 2011 09:28
@ Resourceful,

All looks good. With export, I suppose you want to be able to export the .dba code (including all the particle attributes), local to that you need to export the texture(s) and perhaps also export to the same folder(s) a screenie picture of the relevant particle 'in action'.

Also, if say it were something like snow with multiple emitters (multiple sources for the particles) that would need to be catered for too...?

[edit]

also you'd need to cater for the "Cloths & Particles" particles add-on (which I think is included in DBPro anyway now?)?

[edit]

support for DarkPhysics particles?

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 3rd Apr 2011 10:35
Quote: "@ Resourceful,

All looks good. With export, I suppose you want to be able to export the .dba code (including all the particle attributes), local to that you need to export the texture(s) and perhaps also export to the same folder(s) a screenie picture of the relevant particle 'in action'.

Also, if say it were something like snow with multiple emitters (multiple sources for the particles) that would need to be catered for too...?

[edit]


also you'd need to cater for the "Cloths & Particles" particles add-on (which I think is included in DBPro anyway now?)?

[edit]

support for DarkPhysics particles?"


Well I was going to stay with native DBP particles
as that what it was originally built for

as for screen shots of the particles in action
that was not on my thought list but I guess that could be

the 2 types of saves files one of them being a completed
dba file that a persons main program would load and active as
needed .. i had not thought about moving a persons
picked particle image to the folder ware the dba would be saved


at this point dark physics is sooo limited when it comes to the cloth
as for the particles for that I do not recall that it had particles as
part of it

multiple emitters would be set as separate dba files

once the save option is dun well it basically set now

they could all be in one file but set as a function to be activated as needed

the fire and snow particle commands have 4 extra commands to them
so that is going to take me a bit to implement

I might just create a separate program for those 2
functions using the same layout as this

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 25th Apr 2011 03:41
just to let every one who is watching this thread

I finally finished creating new spots for the additions to be added

what left is setting up the new layout for some of the buttons

at this point the extras I want to add
will take me a bit longer to work out
but the basic operations will be in place so the program
will be usable

there were 55 buttons

because of the additions and to keep the program working
the new amount of buttons is now 141

which might climb a bit more if needed

all I know is I could only take looking at the code for so long
before I would start to get a headache

so it would either a day or more before I wanted to work on things

so I now know when I get to my own projects what to expect

If a thought is Just a thought ~ so whats the main thought ?
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 25th Apr 2011 16:23
@ Resourceful - sounding good - can't wait for next version...

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
Stormwire
14
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 6th Jun 2011 03:43
@Resourceful Any more updates on that?
gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 6th Jun 2011 03:51
sorry I've been slacking off and lazy lately

I want to fished it will all that I promised

I even want to do a small rebuild
Using the free BBB Gui Plug-in

and do one for Dark Physics

after having to reinstall windows because of bug I picked up
and having to reinstall DBP

I got unmotivated

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 17th Jul 2011 08:34
after slacking off since 24th Apr 2011 13:41

and being forced to reinstall dbp and finding the
which plugin's free and pay that do not conflict with each other
and there are quite a few , some of which I may not need or
just will not work with others in place

I've got a plan to change ware buttons are

I just need to relink the buttons to the right functions

and it should be good to go

the saving and loading will take me a bit to
put in place, I've found the code but I just make shire
the code dose not conflict with current code

I've got one adition I am adding in

the first version will be for only single particle

I hope the second it will be easy to set up more than just the one

it should not be too hard to tweak my first one
so Dark Physics will be able to use

again sorry for the delay's on this

If a thought is Just a thought ~ so whats the main thought ?
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 19th Jul 2011 21:02
@Resourceful - check out Diggsey's TopGUI for easy button and other controls. Here

gwheycs62egydws
15
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 20th Jul 2011 02:35
Rich Dersheimer

thanks

I had found that one about 1 week ago

too bad it uses the "IanM's Matrix1Utils plugins"
they seem to conflict with other additions
I have found and bought and the fact DBP Has some peaces
built into DBP 7.61 No beta's

If a thought is Just a thought ~ so whats the main thought ?

Login to post a reply

Server time is: 2024-11-22 09:16:42
Your offset time is: 2024-11-22 09:16:42