Add-in codes

If you have problems installing or running Algodoo Phun Edition, this is where you can get help.
This is also where you should post any bug reports relating to Algodoo Phun Edition.

Add-in codes

Postby ToshNeox » Wed Feb 10, 2010 7:11 pm

Hi, ages ago I found a part on the website which talked about codes you could add into the system (config file or something), and it shows different things like where things collide etc. But now I can't find them! :twisted: Can somebody point me to them or give me the collision one I just said about?
Thanks! :lol:
ToshNeox
 
Posts: 11
Joined: Thu Jan 07, 2010 2:46 pm

Re: Add-in codes

Postby Sonic » Wed Feb 10, 2010 8:41 pm

I do believe it's oncollide in the script menu.
I do stuff and break things. You know how it is.
Image
User avatar
Sonic
 
Posts: 1467
Joined: Tue Sep 01, 2009 6:18 pm
Location: America!!!

Re: Add-in codes

Postby gradyfitz » Thu Feb 11, 2010 11:18 am

ToshNeox wrote:Hi, ages ago I found a part on the website which talked about codes you could add into the system (config file or something), and it shows different things like where things collide etc. But now I can't find them! :twisted: Can somebody point me to them or give me the collision one I just said about?
Thanks! :lol:

tatt61880 wrote:...
Code: Select all
Keys.bind("f6", {App.drawBodyCenters =  ! App.drawBodyCenters});
Keys.bind("f7", {App.drawVertices =  ! App.drawVertices});
Keys.bind("f8", {App.drawCollisions =  ! App.drawCollisions});

...


Is this what you want? It can also be found in older config files, the specific one I think you're looking for is
Code: Select all
App.drawCollisions = true
, if not, there should be a whole list of different things you can look at in the Thyme Variables list :D, these codes can either be entered into the config file (config.cfg found in C:\<USER SETTINGS>\My Documents\Algodoo\ or in the Phun installation folder), or into the console (Tilde ("~") or F11, in the console, you will have to do it all in one line or one line at a time).

Hopefully this helped, If it didn't, please refine your question :D.
Mechanisms: 18 Mechanisms.
Thyme: Tutorial - Variables/Commands List.
Thymechanic
gradyfitz
 
Posts: 174
Joined: Tue Sep 01, 2009 8:33 am
Location: Victoria, Australia

Re: Add-in codes

Postby ToshNeox » Thu Feb 11, 2010 6:48 pm

Thanks! :thumbup:
Image
ToshNeox
 
Posts: 11
Joined: Thu Jan 07, 2010 2:46 pm


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 3 guests