Computer Science Canada Beginnings of a spray thingy... Now with fading colour!! |
Author: | Lapsus Antepedis [ Tue Oct 25, 2005 1:41 pm ] | ||
Post subject: | Beginnings of a spray thingy... Now with fading colour!! | ||
I got bored again, and this came out during my spare time in french class... I'm posting it so I can get it home and try to make it into a module or something so I can have more than one running at once... Anyway, here's my code. Let me know if you have any thoughts about it... (I also plan to add inter-particle and object collision...) Edit 1: Added code so origin of particles follows mouse and syntax tags... Edit 1.5: Switched bace to code tags... (syntax does not mean size 24!!) Edit 2: Decreased delay for smoother simulation Edit 3: Added colour fading to indicate life of particles
|
Author: | beard0 [ Tue Oct 25, 2005 3:47 pm ] |
Post subject: | |
I haven't really looked at the code behind it in depth, but It looks like a decent simulation ![]() |
Author: | Jekate [ Tue Oct 25, 2005 4:25 pm ] |
Post subject: | |
That's awsome man! I don't really know what to say on the code either cause I'm relearning turing. I knew it long ago but never really kept up with it, but as far as I can tell it looks good. |
Author: | Lapsus Antepedis [ Wed Oct 26, 2005 8:42 am ] |
Post subject: | |
Lapsus Antepedis wrote: Edit 1: Added code so origin of particles follows mouse and syntax tags...
Edit 1.5: Switched bace to code tags... (syntax does not mean size 24!!) Edit 2: Decreased delay for smoother simulation Edit 3: Added colour fading to indicate life of particles I made some changes to my program, I think it looks better with the colours fading to black to indicate remaining lifespan... |
Author: | [Gandalf] [ Wed Oct 26, 2005 8:56 am ] |
Post subject: | |
Yeah, I think it looks better this way too - completely blank ![]() |
Author: | codemage [ Wed Oct 26, 2005 12:36 pm ] |
Post subject: | |
That's one of the coolest, er... thingies I've seen in Turing in a while. |
Author: | ZeroPaladn [ Fri Oct 28, 2005 8:50 am ] |
Post subject: | |
i wouldnt know, all i see is a white screen. maybe i ahve to wait for it, i exited the program after about 10 secs of whiteness.... |
Author: | [Gandalf] [ Fri Oct 28, 2005 5:32 pm ] | ||
Post subject: | |||
No, that is what my post meant. This very strange loop doesn't exit..
|