Hotkey for grid on/off.

Suggest changes and improvements to Algodoo.

Hotkey for grid on/off.

Postby Ravenplucker » Fri Aug 19, 2011 9:46 am

I just think this would be very convenient. I use the hotkeys pretty much continually and I always turn the grid off when I'm running a scene.

I dunno, I'm sleepy.
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: Hotkey for grid on/off.

Postby Gear97 » Fri Aug 19, 2011 7:05 pm

I don't know if this was suggested before but anyways..
Support ! :thumbup:
Gears are my favorite mechanism. Why do you think I have this username ? ;)
Make sure to spend some time to see my work http://www.algodoo.com/algobox/profile.php?id=96, just to kill sometime ;)
PS: Gear97™ Is a trademark from me. Any unauthorized use of the term "Gear" for usernames or other naming ideas will be punished.
User avatar
Gear97
 
Posts: 146
Joined: Sat Jan 02, 2010 5:34 pm
Location: Brazil

Re: Hotkey for grid on/off.

Postby electronicboy » Fri Aug 19, 2011 8:26 pm

Would be very useful :thumbup:
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: Hotkey for grid on/off.

Postby Ivan » Fri Aug 19, 2011 9:36 pm

I think I have seen a suggestion for automatic disabling the grid when the simulation is running.
User avatar
Ivan
 
Posts: 203
Joined: Tue Oct 06, 2009 2:01 pm
Location: Croatia

Re: Hotkey for grid on/off.

Postby tatt61880 » Sat Aug 20, 2011 1:12 am

I like hotkey ;)
Code: Select all
Keys.bind("#", {App.Grid.grid = !App.Grid.grid});

^This script let you turn on/off grid via "#".

And if you always use "space key" instead of "start button", next script will be fine. ;)
Code: Select all
Keys.bind("space", {App.Grid.grid = Sim.running? {true} : {false}});

^This code let you turn on/off grid via "space"-key.
Space button works for both stopping simulation and showing grid when sim is running.
NOTE: I'm not an Algoryx member.
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
User avatar
tatt61880
[Most Helpful Person 2010]
 
Posts: 1150
Joined: Mon Aug 31, 2009 5:45 pm
Location: Tokyo, Japan

Re: Hotkey for grid on/off.

Postby Ravenplucker » Sat Aug 20, 2011 2:26 am

Do I just paste these into the ~ console thing?
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: Hotkey for grid on/off.

Postby electronicboy » Sat Aug 20, 2011 2:31 am

yup, just paste them into the console.
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: Hotkey for grid on/off.

Postby Ravenplucker » Sat Aug 20, 2011 2:47 am

Cheers! Works like a charm.
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 Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests