Laser for opening port

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

Laser for opening port

Postby Bartimans » Sat Jul 17, 2010 7:40 pm

Hi,

I don't know very much about scripts. So i want to ask of somebody has a script for my idea. I have a rotating wheel, i want to put a circle on it . When the laser hits it, a port goes open. When the circle is away then the port close. I hope that you can read my bad english. (sorry) :oops:
Bartimans
 
Posts: 17
Joined: Sat Jul 17, 2010 7:34 pm

Re: Laser for opening port

Postby Kilinich » Sat Jul 17, 2010 8:45 pm

Wat is "port" is your scene?
Basically you need at least two circles for "open" and "close" state.
Scripts can be in circles or in lasers.
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: Laser for opening port

Postby Bartimans » Sat Jul 17, 2010 8:48 pm

How do you mean? I have a simple box. i want that it can open and close. whit the laser. It isn't a problem that i have two circles.
Bartimans
 
Posts: 17
Joined: Sat Jul 17, 2010 7:34 pm

Re: Laser for opening port

Postby Kilinich » Sat Jul 17, 2010 8:56 pm

Scene please. Nobody can read your mind.
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: Laser for opening port

Postby Bartimans » Sat Jul 17, 2010 9:52 pm

http://www41.zippyshare.com/v/21362442/file.html

When the block is down i want that the gate can open, when he go up the gate close.
Bartimans
 
Posts: 17
Joined: Sat Jul 17, 2010 7:34 pm

Re: Laser for opening port

Postby roffa » Sat Jul 17, 2010 10:43 pm

You can do that mechanically.
User avatar
roffa
 
Posts: 92
Joined: Thu Mar 18, 2010 4:58 pm
Location: Norway


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 3 guests