Need help with thyme

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

Need help with thyme

Postby Ravenplucker » Sun Jun 03, 2012 7:30 pm

Would anybody be willing to give me a hand with a small scripting project? I'm absolutely horrible with thyme and have a cool idea which I have no idea how to script.

Any takers? :angel:
TheWonkits wrote:You can't do cartwheels when you're bored. Biological impossibility; they're fueled by joy.


Phundamentalist
Ravenplucker
 
Posts: 644
Joined: Thu Jan 06, 2011 6:22 pm
Location: Sydney, Australia

Re: Need help with thyme

Postby Kilinich » Mon Jun 04, 2012 8:42 am

You better just ask your questions here.
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: Need help with thyme

Postby Ravenplucker » Mon Jun 04, 2012 9:04 am

I tend to get protective of my ideas... but oh well.

I want a keypress to activate a laser, which will hit a block. If the block has a density >= 0.5, then a thruster will activate, and the density of the block will decrease by an amount. If the blocks density is below 0.5, then nothing will happen. I want to have several lasers hooked to the same block, and wired to multiple thrusters. I'd prefer it to be phunletable.

Sorry, I'm not terrible good at articulating my thoughts. Does that make sense?
TheWonkits wrote:You can't do cartwheels when you're bored. Biological impossibility; they're fueled by joy.


Phundamentalist
Ravenplucker
 
Posts: 644
Joined: Thu Jan 06, 2011 6:22 pm
Location: Sydney, Australia

Re: Need help with thyme

Postby Kilinich » Mon Jun 04, 2012 1:55 pm

So thruster need to be activated only for 1 frame after keypress?
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: Need help with thyme

Postby Ravenplucker » Wed Jun 06, 2012 10:41 am

Yep!
TheWonkits wrote:You can't do cartwheels when you're bored. Biological impossibility; they're fueled by joy.


Phundamentalist
Ravenplucker
 
Posts: 644
Joined: Thu Jan 06, 2011 6:22 pm
Location: Sydney, Australia


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 5 guests