Cool Codes similar to Groovyon?

About advanced scenes, and the Thyme scripting language used in Algodoo.

Cool Codes similar to Groovyon?

Postby Ninja » Sat Dec 25, 2010 4:50 pm

I was wondering if anybody knows some more of those cool codes similar to Groovyon. Or maybe there isn't any more.
A Ninja Stole My Signature
User avatar
Ninja
 
Posts: 4
Joined: Fri Dec 24, 2010 4:51 am

Re: Cool Codes similar to Groovyon?

Postby Chronos » Sat Dec 25, 2010 7:06 pm

http://www.algodoo.com/algobox/details.php?id=27479
http://www.algodoo.com/algobox/details.php?id=26102
http://www.algodoo.com/algobox/details.php?id=24224

Those are some scenes I made that might be what you're looking for. They're actually the GroovyOn codes, just heavily modified. Just look for the boxes that control it to see how I did it. I might post a code if you can't find it.
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: Cool Codes similar to Groovyon?

Postby Ninja » Sun Dec 26, 2010 10:04 pm

I couldn't find it in those scenes but I think I found it on the forums. Is it something like
groovyOn = {
App.fadeColor = [0.8, 0, 0.9];
App.fadeTranslate = {[3 * sin(time), 2 * sin(time)]};
App.fadeRotate = {sin(System.time * 1.2)};
App.Background.skyColor = [0, 0, 0, 0]

I tried it but it wouldn't work. Im not sure I really understand groovyon. :?
A Ninja Stole My Signature
User avatar
Ninja
 
Posts: 4
Joined: Fri Dec 24, 2010 4:51 am

Re: Cool Codes similar to Groovyon?

Postby Chronos » Tue Dec 28, 2010 5:23 pm

You don't need the first line in that code.
Code: Select all
App.fadeColor = [0.8, 0, 0.9];
App.fadeTranslate = {[3 * sin(time), 2 * sin(time)]};
App.fadeRotate = {sin(System.time * 1.2)};
App.Background.skyColor = [0, 0, 0, 0]

That should work.
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: Cool Codes similar to Groovyon?

Postby Ninja » Sun Jan 09, 2011 7:56 pm

Thank You.
A Ninja Stole My Signature
User avatar
Ninja
 
Posts: 4
Joined: Fri Dec 24, 2010 4:51 am


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 1 guest